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