fix: change static paths
This commit is contained in:
parent
7a00e902f5
commit
a30e7cbdbf
@ -7,8 +7,9 @@ RUN apt update
|
|||||||
RUN apt install gettext -y
|
RUN apt install gettext -y
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir /app/static
|
RUN mkdir /app/data
|
||||||
RUN mkdir /app/media
|
RUN mkdir /app/data/static
|
||||||
|
RUN mkdir /app/data/media
|
||||||
RUN pip install -e . # Without the -e the library static folder will not be copied by collectstatic!
|
RUN pip install -e . # Without the -e the library static folder will not be copied by collectstatic!
|
||||||
|
|
||||||
RUN nf collectstatic --noinput
|
RUN nf collectstatic --noinput
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[django]
|
[django]
|
||||||
secret="NOTREALSECRET"
|
secret="NOTREALSECRET"
|
||||||
[locations]
|
[locations]
|
||||||
static=/notfellchen/static
|
static=/app/data/static
|
||||||
media=/notfellchen/media
|
media=/app/data//media
|
Loading…
Reference in New Issue
Block a user