We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40fdf38 commit dcc309dCopy full SHA for dcc309d
scripts/local_with_uvicorn/Dockerfile
@@ -40,5 +40,5 @@ USER app
40
WORKDIR /code
41
42
# -------- replace with comment to run with gunicorn --------
43
-CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-include", ".env"]
+CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-include", "/code/.env"]
44
# CMD ["gunicorn", "app.main:app", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8000"]
0 commit comments