autogenerate static when building

This commit is contained in:
Christoph J. Scherr 2023-09-26 22:51:25 +02:00
parent d3c2c22e82
commit eb1d4e85ed
2 changed files with 3 additions and 0 deletions

2
.gitignore vendored
View File

@ -20,3 +20,5 @@ db/data/mysql_upgrade_info
gawa/media/CACHE
gawa/static/CACHE
site/static/CACHE
gawa/media/img/links/favicons
gawa/static

View File

@ -8,3 +8,4 @@ RUN apt update && apt install -y gettext && rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/
RUN pip install -r requirements.txt
COPY . /app/
RUN python /app/manage.py collectstatic --noinput