Files
johannesbot 615bd1b468
Build and Deploy / build (push) Successful in 32s
Build and Deploy / deploy (push) Successful in 25s
manga matching and WebApp
2026-05-26 20:20:24 +02:00

26 lines
545 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", "/config"]
EXPOSE 8080
CMD ["python", "/app/main.py"]