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

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