diff --git a/omeka-s-docker/Dockerfile b/omeka-s-docker/Dockerfile index 618cb51..8a49e03 100644 --- a/omeka-s-docker/Dockerfile +++ b/omeka-s-docker/Dockerfile @@ -37,13 +37,14 @@ RUN mkdir -p /var/www/html # Fetch Omeka-S WORKDIR /tmp ADD https://github.com/omeka/omeka-s/releases/download/v4.0.4/omeka-s-4.0.4.zip /tmp -RUN unzip omeka-s-4.0.4.zip -d /var/www/html/ +RUN unzip omeka-s-4.0.4.zip -d /var/www/html/ && rm omeka-s-4.0.4.zip # Make sure files/folders needed by the processes are accessable when they run under the nobody user RUN chown -R nobody.nobody /var/www/html && \ chown -R nobody.nobody /run && \ chown -R nobody.nobody /var/lib/nginx && \ - chown -R nobody.nobody /var/log/nginx + chown -R nobody.nobody /var/log/nginx && \ + chown -R nobody.nobody /var/log/php82 # Switch to use a non-root user from here on