From eb1d4e85ed573d4d8d257c09a93d513ee604532d Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 26 Sep 2023 22:51:25 +0200 Subject: [PATCH] autogenerate static when building --- .gitignore | 2 ++ docker/main/Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 9a3a0a8..1a1445b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/docker/main/Dockerfile b/docker/main/Dockerfile index 62286c3..2919ae0 100644 --- a/docker/main/Dockerfile +++ b/docker/main/Dockerfile @@ -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