Files
mediaproc/ctrl/Dockerfile.worker
2026-03-13 14:29:38 -03:00

16 lines
425 B
Docker

FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt requirements-worker.txt ./
RUN pip install --no-cache-dir -r requirements-worker.txt
# No COPY . . — code is volume-mounted in dev (..:/app)
# This image only provides Python runtime + FFmpeg + dependencies
CMD ["celery", "-A", "admin.mpr", "worker", "--loglevel=info"]