From 93a16d58cf9475c2f35bedd689b1356f14a8abb4 Mon Sep 17 00:00:00 2001 From: haunter Date: Sun, 19 Apr 2026 20:33:34 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f7a1107..854fd6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /app ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 -# Install minimal deps for pip encryption/ssl if needed RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ && rm -rf /var/lib/apt/lists/* @@ -17,4 +16,4 @@ COPY . . EXPOSE 5050 -CMD ["python", "app.py"] +CMD ["gunicorn", "--bind", "0.0.0.0:5050", "--workers", "1", "--threads", "2", "app:app"] \ No newline at end of file