libgl1-mesa-glx → libgl1-mesa-dri, chromaprint-tools → libchromaprint-tools Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
659 B
Docker
26 lines
659 B
Docker
FROM python:3.11-slim
|
|
|
|
# System dependencies for opencv, moviepy, pyacoustid
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ffmpeg \
|
|
libgl1-mesa-dri \
|
|
libglib2.0-0 \
|
|
libchromaprint-tools \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
# Install Python dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy application code
|
|
COPY . .
|
|
|
|
# Create runtime directories
|
|
RUN mkdir -p database uploads/hm_qc uploads/video_qc uploads/video_master \
|
|
storage/reports/hm_qc storage/reports/consolidated logs
|
|
|
|
EXPOSE 5000
|
|
|
|
CMD ["gunicorn", "-c", "gunicorn_config.py", "wsgi:application"]
|