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
1 changed files with 2 additions and 0 deletions

View 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"]