Docker stuff and folder watcher
Build and Deploy / build (push) Successful in 53s
Build and Deploy / deploy (push) Failing after 15s

This commit is contained in:
2026-05-24 16:00:50 +02:00
parent b8f897fa2e
commit 7dee62eb4f
7 changed files with 483 additions and 13 deletions
+23
View File
@@ -0,0 +1,23 @@
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"]