diff options
author | Angristan <angristan@users.noreply.github.com> | 2018-03-11 21:06:14 +0100 |
---|---|---|
committer | Angristan <angristan@users.noreply.github.com> | 2018-03-11 21:06:14 +0100 |
commit | 017baf57d50b63cd32dce44e7b953f6ac6380c0b (patch) | |
tree | 0dafd8469c98631620df59180e1d7c0917658519 /docker/alpine/Dockerfile.armhf.master | |
parent | 39ee93925b66b527c4386647001fadc898c52a2c (diff) | |
download | Shaarli-017baf57d50b63cd32dce44e7b953f6ac6380c0b.tar.gz Shaarli-017baf57d50b63cd32dce44e7b953f6ac6380c0b.tar.zst Shaarli-017baf57d50b63cd32dce44e7b953f6ac6380c0b.zip |
Nginx logs to stdout for Docker Alpine images
Diffstat (limited to 'docker/alpine/Dockerfile.armhf.master')
-rw-r--r-- | docker/alpine/Dockerfile.armhf.master | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/alpine/Dockerfile.armhf.master b/docker/alpine/Dockerfile.armhf.master index 7f1bdf85..6c89adc3 100644 --- a/docker/alpine/Dockerfile.armhf.master +++ b/docker/alpine/Dockerfile.armhf.master | |||
@@ -37,7 +37,9 @@ RUN curl -L https://github.com/shaarli/Shaarli/archive/master.tar.gz | tar xzf - | |||
37 | && cd shaarli \ | 37 | && cd shaarli \ |
38 | && composer --prefer-dist --no-dev install \ | 38 | && composer --prefer-dist --no-dev install \ |
39 | && rm -rf ~/.composer \ | 39 | && rm -rf ~/.composer \ |
40 | && chown -R nginx:nginx . | 40 | && chown -R nginx:nginx . \ |
41 | && ln -sf /dev/stdout /var/log/nginx/shaarli.access.log \ | ||
42 | && ln -sf /dev/stderr /var/log/nginx/shaarli.error.log | ||
41 | 43 | ||
42 | VOLUME /var/www/shaarli/data | 44 | VOLUME /var/www/shaarli/data |
43 | 45 | ||