aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/alpine/Dockerfile.master
diff options
context:
space:
mode:
authorAngristan <angristan@users.noreply.github.com>2018-03-11 21:06:14 +0100
committerAngristan <angristan@users.noreply.github.com>2018-03-11 21:06:14 +0100
commit017baf57d50b63cd32dce44e7b953f6ac6380c0b (patch)
tree0dafd8469c98631620df59180e1d7c0917658519 /docker/alpine/Dockerfile.master
parent39ee93925b66b527c4386647001fadc898c52a2c (diff)
downloadShaarli-017baf57d50b63cd32dce44e7b953f6ac6380c0b.tar.gz
Shaarli-017baf57d50b63cd32dce44e7b953f6ac6380c0b.tar.zst
Shaarli-017baf57d50b63cd32dce44e7b953f6ac6380c0b.zip
Nginx logs to stdout for Docker Alpine images
Diffstat (limited to 'docker/alpine/Dockerfile.master')
-rw-r--r--docker/alpine/Dockerfile.master5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/alpine/Dockerfile.master b/docker/alpine/Dockerfile.master
index 9cb4dec4..0472947f 100644
--- a/docker/alpine/Dockerfile.master
+++ b/docker/alpine/Dockerfile.master
@@ -42,7 +42,10 @@ RUN rm -rf /etc/php7/php-fpm.d/www.conf \
42WORKDIR /var/www 42WORKDIR /var/www
43COPY --from=composer /app/shaarli shaarli 43COPY --from=composer /app/shaarli shaarli
44 44
45RUN chown -R nginx:nginx . 45RUN 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
46VOLUME /var/www/shaarli/data 49VOLUME /var/www/shaarli/data
47 50
48EXPOSE 80 51EXPOSE 80