Set WORKDIR to /app/src before setting CMD.

This commit is contained in:
Víðir Valberg Guðmundsson 2021-03-01 17:35:43 +01:00
parent fb00df7274
commit cbdbd7f7cf
1 changed files with 1 additions and 0 deletions

View File

@ -41,4 +41,5 @@ ARG BUILD
ENV BUILD ${BUILD}
ENTRYPOINT ["./entrypoint.sh"]
WORKDIR /app/src
CMD ["uvicorn", "project.asgi:application", "--host", "0.0.0.0", "--port", "8000", "--workers", "3", "--lifespan", "off"]