Merge pull request #1098 from josqu4red/perms-docker-alpine-latest
Fix permission issue introduced with multi-stage build
This commit is contained in:
commit
a58a8856a8
1 changed files with 2 additions and 0 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue