]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fix permission issue introduced with multi-stage build 1098/head
authorJonathan Amiez <jonathan.amiez@gmail.com>
Fri, 2 Mar 2018 14:05:48 +0000 (15:05 +0100)
committerJonathan Amiez <jonathan.amiez@gmail.com>
Fri, 2 Mar 2018 14:05:48 +0000 (15:05 +0100)
docker/alpine/Dockerfile.latest

index e9015c13c39b7b2d490843aa02088e2b9c723be4..4724b633857358faabafcc8bcc762266703ebde8 100644 (file)
@@ -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"]