Change static directory

This commit is contained in:
Mark Veidemanis 2022-10-15 22:41:41 +01:00
parent 5995ded170
commit cbd5ac9580
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ server {
location = /favicon.ico { access_log off; log_not_found off; } location = /favicon.ico { access_log off; log_not_found off; }
location /static/ { location /static/ {
root /code/core/; root /conf;
} }
location / { location / {

View File

@ -2,8 +2,8 @@
FROM python:3 FROM python:3
RUN useradd -d /code xf RUN useradd -d /code xf
RUN mkdir /code RUN mkdir -p /code
RUN chown xf:xf /code RUN chown -R xf:xf /code
RUN mkdir /conf RUN mkdir /conf
RUN chown xf:xf /conf RUN chown xf:xf /conf