Files
celery/Dockerfile
gilesb a0a719cda5 fix: add ffmpeg to Docker image for video transcoding
Required for iOS MKV→MP4 on-the-fly transcoding.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 20:06:44 +00:00

26 lines
597 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install git and ffmpeg (for video transcoding)
RUN apt-get update && apt-get install -y --no-install-recommends git ffmpeg && rm -rf /var/lib/apt/lists/*
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Clone effects repo
RUN git clone https://git.rose-ash.com/art-dag/effects.git /app/artdag-effects
# Create cache directory
RUN mkdir -p /data/cache
ENV PYTHONUNBUFFERED=1
ENV EFFECTS_PATH=/app/artdag-effects
# Default command runs the server
CMD ["python", "server.py"]