diff --git a/docker/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf index f3ef7d5..064e531 100644 --- a/docker/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -9,7 +9,7 @@ server { location = /favicon.ico { access_log off; log_not_found off; } location /static/ { - root /code/core/; + root /conf; } location / { diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index ad78995..9381f67 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -2,8 +2,8 @@ FROM python:3 RUN useradd -d /code xf -RUN mkdir /code -RUN chown xf:xf /code +RUN mkdir -p /code +RUN chown -R xf:xf /code RUN mkdir /conf RUN chown xf:xf /conf