Change static directory
This commit is contained in:
parent
5995ded170
commit
cbd5ac9580
|
@ -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 / {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue