Files
manga-mover-and-metadata-co…/Dockerfile
T
johannesbot 7dee62eb4f
Build and Deploy / build (push) Successful in 53s
Build and Deploy / deploy (push) Failing after 15s
Docker stuff and folder watcher
2026-05-24 16:00:50 +02:00

24 lines
521 B
Docker

FROM python:3.12-slim
WORKDIR /app
# System deps for Pillow (image dimensions); kept minimal.
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libjpeg62-turbo \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ /app/src/
COPY main.py /app/main.py
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
# Mount points used by main.py defaults
VOLUME ["/mnt/suwayomi", "/mnt/kavita"]
CMD ["python", "/app/main.py"]