diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2018-03-19 22:22:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-19 22:22:12 +0100 |
commit | e54cb1bbe7500d5271d767a298cefbc85f904e0d (patch) | |
tree | cb6a5b6b9c3567cd6f10df1ce469d36ce509caeb /docker/alpine/Dockerfile.latest | |
parent | 60a94dab22b6ff1fe414ba98b90dbaaf741cadef (diff) | |
parent | 017baf57d50b63cd32dce44e7b953f6ac6380c0b (diff) | |
download | Shaarli-e54cb1bbe7500d5271d767a298cefbc85f904e0d.tar.gz Shaarli-e54cb1bbe7500d5271d767a298cefbc85f904e0d.tar.zst Shaarli-e54cb1bbe7500d5271d767a298cefbc85f904e0d.zip |
Merge pull request #1100 from Angristan/docker-logs
Nginx logs to stdout for Docker images
Diffstat (limited to 'docker/alpine/Dockerfile.latest')
-rw-r--r-- | docker/alpine/Dockerfile.latest | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/alpine/Dockerfile.latest b/docker/alpine/Dockerfile.latest index 4724b633..755d8751 100644 --- a/docker/alpine/Dockerfile.latest +++ b/docker/alpine/Dockerfile.latest | |||
@@ -42,7 +42,10 @@ 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 | RUN chown -R nginx:nginx . \ |
46 | && ln -sf /dev/stdout /var/log/nginx/shaarli.access.log \ | ||
47 | && ln -sf /dev/stderr /var/log/nginx/shaarli.error.log | ||
48 | |||
46 | VOLUME /var/www/shaarli/data | 49 | VOLUME /var/www/shaarli/data |
47 | 50 | ||
48 | EXPOSE 80 | 51 | EXPOSE 80 |