fix: change static paths

This commit is contained in:
moanos [he/him] 2024-04-13 11:55:15 +02:00
parent 7a00e902f5
commit a30e7cbdbf
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
[django]
secret="NOTREALSECRET"
[locations]
static=/notfellchen/static
media=/notfellchen/media
static=/app/data/static
media=/app/data//media