Initial commit

This commit is contained in:
2025-09-04 15:21:07 +01:00
parent d87b02a7ac
commit bb0c5cc8ff
9 changed files with 446 additions and 1 deletions

14
app/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
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"]