Fix permission issue introduced with multi-stage build

This commit is contained in:
Jonathan Amiez 2018-03-02 15:05:48 +01:00
parent b70436373b
commit ed2de76840
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"]