Files
celery/Dockerfile
gilesb ea60afb624 Force pip cache bust on deploy
- Add CACHEBUST build arg to Dockerfile
- Pass timestamp to --build-arg in deploy.sh
- Ensures artdag is re-fetched from GitHub on each deploy

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

27 lines
613 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 .
ARG CACHEBUST=1
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"]