From ed2de76840507f716bebd5b09086dc925ad16ffd Mon Sep 17 00:00:00 2001 From: Jonathan Amiez Date: Fri, 2 Mar 2018 15:05:48 +0100 Subject: [PATCH] Fix permission issue introduced with multi-stage build --- docker/alpine/Dockerfile.latest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/alpine/Dockerfile.latest b/docker/alpine/Dockerfile.latest index e9015c13c..4724b6338 100644 --- a/docker/alpine/Dockerfile.latest +++ b/docker/alpine/Dockerfile.latest @@ -42,7 +42,9 @@ RUN rm -rf /etc/php7/php-fpm.d/www.conf \ WORKDIR /var/www COPY --from=composer /app/shaarli shaarli +RUN chown -R nginx:nginx . VOLUME /var/www/shaarli/data + EXPOSE 80 ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"]