Update Dockerfile

This commit is contained in:
2026-04-19 20:33:34 +00:00
parent a9c9f00ce7
commit 93a16d58cf

View File

@@ -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"]