generated from hjess/PythonTemplateProject
This commit is contained in:
@@ -10,4 +10,4 @@ COPY . .
|
||||
# Port will be set via environment variable
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "${PORT:-8000}", "--workers", "1"]
|
||||
CMD ["sh", "-c", "uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port ${PORT:-8000} --workers 1"]
|
||||
|
||||
Reference in New Issue
Block a user