We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d0c710 commit 0cf74d2Copy full SHA for 0cf74d2
Dockerfile
@@ -19,4 +19,4 @@ USER appuser
19
20
EXPOSE 8000
21
22
-CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
+CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}"]
0 commit comments