We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f61a9f commit cf2d196Copy full SHA for cf2d196
src/webapp/Dockerfile
@@ -32,5 +32,5 @@ COPY --from=builder /app/src /app/src
32
ENV PATH="/app/.venv/bin:$PATH"
33
34
# Run the application.
35
-#CMD ["fastapi", "run", "app/src/webapp", "--port", "8080", "--host", "0.0.0.0"]
36
-CMD ["uvicorn", "src.webapp.main:app", "--host", "0.0.0.0", "--port", "8080"]
+CMD ["sh", "-c", "uvicorn src.webapp.main:app --host 0.0.0.0 --port ${PORT}"]
+#CMD ["uvicorn", "src.webapp.main:app", "--host", "0.0.0.0", "--port", "8080"]
0 commit comments