fix: update UVICORN_PORT and UVICORN_WORKERS in Dockerfile for consistency #10

Merged
zwitschi merged 4 commits from feat/ci-overhaul-20251029 into main 2025-11-02 15:59:22 +01:00
Showing only changes of commit efee50fdc7 - Show all commits

View File

@@ -2,8 +2,6 @@
ARG PYTHON_VERSION=3.11-slim
ARG APT_CACHE_URL=http://192.168.88.14:3142
ARG UVICORN_WORKERS=4
ARG UVICORN_PORT=8003
FROM python:${PYTHON_VERSION} AS builder
ARG APT_CACHE_URL
@@ -108,6 +106,6 @@ RUN chown -R appuser:app /app
USER appuser
EXPOSE 8000
EXPOSE 8003
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "${UVICORN_PORT}", "--workers", "${UVICORN_WORKERS}"]
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8003", "--workers", "4"]