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