From 89ebc40aadaa830ee453cf1a11f76fd867595829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Wed, 5 Jul 2023 14:00:57 -0400 Subject: [PATCH] =?UTF-8?q?dockerfile=20plus=20performant=20en=20local=20p?= =?UTF-8?q?arce=20que=20je=20charge=20les=20r=C3=A9pertoires=20et=20fichie?= =?UTF-8?q?rs=20requis=20un=20par=20un?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 75e2fc4..732b3e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,12 @@ COPY conf/policy.xml /etc/ImageMagick-6/policy.xml EXPOSE 8000 # Copy the application code -COPY . . +COPY conf ./conf +COPY font ./font +COPY resources ./resources +COPY styles ./styles +COPY *.py . +COPY *.lua . # Run the application CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]