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
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN mkdir /app/static
|
||||
RUN mkdir /app/media
|
||||
RUN mkdir /app/data
|
||||
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 nf collectstatic --noinput
|
||||
|
@ -1,5 +1,5 @@
|
||||
[django]
|
||||
secret="NOTREALSECRET"
|
||||
[locations]
|
||||
static=/notfellchen/static
|
||||
media=/notfellchen/media
|
||||
static=/app/data/static
|
||||
media=/app/data//media
|
Loading…
Reference in New Issue
Block a user