Merge pull request #1098 from josqu4red/perms-docker-alpine-latest

Fix permission issue introduced with multi-stage build
This commit is contained in:
VirtualTam 2018-03-02 16:45:16 +01:00 committed by GitHub
commit a58a8856a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,9 @@ RUN rm -rf /etc/php7/php-fpm.d/www.conf \
WORKDIR /var/www WORKDIR /var/www
COPY --from=composer /app/shaarli shaarli COPY --from=composer /app/shaarli shaarli
RUN chown -R nginx:nginx .
VOLUME /var/www/shaarli/data VOLUME /var/www/shaarli/data
EXPOSE 80 EXPOSE 80
ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"] ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"]