dockerfile plus performant en local parce que je charge les répertoires et fichiers requis un par un

This commit is contained in:
François Pelletier 2023-07-05 14:00:57 -04:00
parent a5a61bd89c
commit 89ebc40aad

View file

@ -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"]