9e73d065f9
- DockerfileWorker: abcde, flac, ffmpeg, handbrake-cli installiert - ripping.py: Ripping-Module für DVD/Blu-ray mit HandBrake - tasks.py: Disc-Typ-Erkennung + passendes Ripping-Modul - docker-compose.yml: Output-Verzeichnis /output hinzugefügt - output/ Verzeichnis erstellt WIP: CD-Ripping mit abcde noch nicht implementiert
26 lines
500 B
Docker
26 lines
500 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
abcde \
|
|
flac \
|
|
ffmpeg \
|
|
handbrake-cli \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install --no-cache-dir \
|
|
celery==5.4.0 \
|
|
redis==5.0.7 \
|
|
psycopg2-binary==2.9.9 \
|
|
python-dotenv==1.0.1
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD ["celery", "-A", "celery_app", "worker", "--loglevel=info", "--pool=solo"]
|
|
|