From efee50fdc7ff37fafa1333dde14a6828653e860b Mon Sep 17 00:00:00 2001 From: zwitschi Date: Sun, 2 Nov 2025 12:23:26 +0100 Subject: [PATCH] fix: update UVICORN_PORT and UVICORN_WORKERS in Dockerfile for consistency --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0fae805..2565f21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]