diff options
author | Jonathan Amiez <jonathan.amiez@gmail.com> | 2018-03-02 15:05:48 +0100 |
---|---|---|
committer | Jonathan Amiez <jonathan.amiez@gmail.com> | 2018-03-02 15:05:48 +0100 |
commit | ed2de76840507f716bebd5b09086dc925ad16ffd (patch) | |
tree | 2f1bafee30a3964833a32476bb50c5bb5ed045cc | |
parent | b70436373b488ce9cd8b0dc287d058b5ca206347 (diff) | |
download | Shaarli-ed2de76840507f716bebd5b09086dc925ad16ffd.tar.gz Shaarli-ed2de76840507f716bebd5b09086dc925ad16ffd.tar.zst Shaarli-ed2de76840507f716bebd5b09086dc925ad16ffd.zip |
Fix permission issue introduced with multi-stage build
-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"] |