diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2018-03-02 16:45:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-02 16:45:16 +0100 |
commit | a58a8856a88cefe22027d419fac2e5664fc9ba61 (patch) | |
tree | 2f1bafee30a3964833a32476bb50c5bb5ed045cc /docker/alpine | |
parent | b70436373b488ce9cd8b0dc287d058b5ca206347 (diff) | |
parent | ed2de76840507f716bebd5b09086dc925ad16ffd (diff) | |
download | Shaarli-a58a8856a88cefe22027d419fac2e5664fc9ba61.tar.gz Shaarli-a58a8856a88cefe22027d419fac2e5664fc9ba61.tar.zst Shaarli-a58a8856a88cefe22027d419fac2e5664fc9ba61.zip |
Merge pull request #1098 from josqu4red/perms-docker-alpine-latest
Fix permission issue introduced with multi-stage build
Diffstat (limited to 'docker/alpine')
-rw-r--r-- | docker/alpine/Dockerfile.latest | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/alpine/Dockerfile.latest b/docker/alpine/Dockerfile.latest index e9015c13..4724b633 100644 --- a/docker/alpine/Dockerfile.latest +++ b/docker/alpine/Dockerfile.latest | |||
@@ -42,7 +42,9 @@ RUN rm -rf /etc/php7/php-fpm.d/www.conf \ | |||
42 | WORKDIR /var/www | 42 | WORKDIR /var/www |
43 | COPY --from=composer /app/shaarli shaarli | 43 | COPY --from=composer /app/shaarli shaarli |
44 | 44 | ||
45 | RUN chown -R nginx:nginx . | ||
45 | VOLUME /var/www/shaarli/data | 46 | VOLUME /var/www/shaarli/data |
47 | |||
46 | EXPOSE 80 | 48 | EXPOSE 80 |
47 | 49 | ||
48 | ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"] | 50 | ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"] |