From a8d6a2391f0df6d8523b300203bb3719ad69b33e Mon Sep 17 00:00:00 2001 From: Shambo Chowdhury <54593764+typhonshambo@users.noreply.github.com> Date: Thu, 16 May 2024 20:11:11 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 13eb846..55fac9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,15 @@ FROM texlive/texlive:latest RUN apt-get update && \ apt-get install -y imagemagick texlive-fonts-extra -# Set the working directory -WORKDIR /data/latex # Create a dedicated directory for LaTeX files +# Set the working directory (adjust if needed) +WORKDIR /data/latex -# Copy your LaTeX files into the container -COPY . /data/latex +# Copy main.tex directly +COPY main.tex /data/latex # Build the LaTeX document RUN pdflatex main.tex # Convert PDF to PNG (executed outside the container for more control) -# (Optional: Remove CMD if you execute this command in your workflow) +# (Optional: Remove CMD if you execute this in your workflow) # CMD ["convert", "-density", "300", "main.pdf", "-quality", "90", "main.png"]