From 6213b34e8be532562984886347b3d4ce9d1d95e1 Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 6 May 2026 02:32:03 +0200 Subject: [PATCH] track Pictures dir via .gitkeep, declare volumes in Dockerfile --- .gitignore | 3 ++- Dockerfile | 2 +- Pictures/.gitkeep | 0 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Pictures/.gitkeep diff --git a/.gitignore b/.gitignore index 27ecd6b..4bc9495 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -Pictures/ +Pictures/* +!Pictures/.gitkeep .env booru.db \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 3bde767..dd2f3e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,6 @@ WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . -RUN mkdir -p Pictures +VOLUME ["/app/Pictures", "/app/booru.db"] EXPOSE 5000 CMD ["python", "Slideshow.py"] diff --git a/Pictures/.gitkeep b/Pictures/.gitkeep new file mode 100644 index 0000000..e69de29