Update dockerfile

This commit is contained in:
2025-09-07 10:56:14 +02:00
parent e3478fb77e
commit 8abcf101f0
2 changed files with 42 additions and 2 deletions

View File

@@ -1,7 +1,11 @@
FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg curl jq poppler-utils \ && rm -rf /var/lib/apt/lists/*
ffmpeg \
curl \
jq \
poppler-utils \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
@@ -11,4 +15,4 @@ COPY app.py worker.py ./
RUN pip install --no-cache-dir gunicorn==22.0.0
EXPOSE 8080
CMD ["gunicorn", "-b", "0.0.0.0:8080", "app:app", "--workers", "2", "--threads", "4"]
CMD ["gunicorn", "-b", "0.0.0.0:8080", "app:app", "--workers", "2", "--threads", "4"]