Files
podx/app/Dockerfile
2025-09-04 15:21:07 +01:00

15 lines
421 B
Docker

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/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
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"]