Commit 31f01bf3 authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

make sure the log dir exists

parent a337607d
......@@ -36,6 +36,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
RUN ln -sf /dev/stdout /var/log/nginx/access.log
RUN ln -sf /dev/stderr /var/log/nginx/error.log
# make sure the log dir exists
RUN mkdir -p /srv/logs/nginx/ && chown www-data:www-data /srv/logs/nginx/
COPY run.sh /run.sh
RUN chmod +x /run.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment