dockerfile plus performant en local parce que je charge les répertoires et fichiers requis un par un
This commit is contained in:
parent
a5a61bd89c
commit
89ebc40aad
1 changed files with 6 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue