add Previews folder with ≤1MB scaled previews, toggle in UI

This commit is contained in:
Johannes
2026-05-06 03:02:39 +02:00
parent 6213b34e8b
commit af38049294
8 changed files with 143 additions and 33 deletions

View File

@@ -3,6 +3,6 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
VOLUME ["/app/Pictures", "/app/booru.db"]
VOLUME ["/app/Pictures", "/app/Previews", "/app/booru.db"]
EXPOSE 5000
CMD ["python", "Slideshow.py"]