From 9fe2785918250436252e9ccfc0c16e6e71102d29 Mon Sep 17 00:00:00 2001 From: "root (fetsite6)" Date: Mon, 19 Oct 2020 21:30:00 +0200 Subject: [PATCH] thumbs folder permissions --- Dockerfile | 3 ++- foto_gallery/templates/layout.html | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba1d4fb..f2f3f37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,5 @@ COPY --from=builder /opt/venv /opt/venv COPY ./fotos-nginx.conf /etc/nginx/conf.d/fetfotos2020.conf ENV PATH="/opt/venv/bin:$PATH" -COPY . /app \ No newline at end of file +COPY . /app +RUN mkdir /app/thumbs && chown nginx:nginx /app/thumbs diff --git a/foto_gallery/templates/layout.html b/foto_gallery/templates/layout.html index 90acc12..f858475 100644 --- a/foto_gallery/templates/layout.html +++ b/foto_gallery/templates/layout.html @@ -28,11 +28,10 @@