We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a97c043 + 350f51d commit 5ec06c0Copy full SHA for 5ec06c0
Dockerfile
@@ -20,4 +20,4 @@ USER appuser
20
21
EXPOSE 8000
22
23
-CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
+CMD uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}
0 commit comments