Implement loglevel configuration from Dockerfile

This commit is contained in:
Kristóf Tóth
2018-01-30 10:49:16 +01:00
parent 071167d3d7
commit 0e38bef92e
4 changed files with 7 additions and 3 deletions

View File

@ -62,6 +62,8 @@ ENV TFW_SUPERVISORD_CONF="/etc/supervisor/supervisord.conf"
ENV PYTHONPATH=${TFW_LIB_DIR}
ENV TFW_LOGLEVEL="debug"
COPY src/nginx /etc/nginx
RUN chown -R ${AVATAO_USER}: /var/log/nginx /var/lib/nginx && \
# nginx runs as a regular user, and can't write to /run