diff --git a/Dockerfile b/Dockerfile index 1f250c6..84aaead 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ RUN pip install -r requirements.txt ADD ./docker/nginx.conf /etc/nginx/nginx.conf ADD ./docker/supervisord.conf /etc/supervisord.conf -# add user -RUN addgroup -S portier && adduser -S portier -G portier +# add user; add nginx to portier group for static file access +RUN addgroup -S portier && adduser -S portier -G portier && adduser nginx portier # add code ADD --chown=portier:portier . /app diff --git a/templates/base.html b/templates/base.html index c0ffa97..3b81048 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,7 +13,6 @@