From 8632707e2830ca7d928ed5368f3294c63885a2d8 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Wed, 20 Sep 2023 02:33:10 +0800 Subject: [PATCH] Added collectstatic to docker-compose --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index d79e7d9..9caad03 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: - "8083:8000" # Expose port 8083 for the web server environment: - PYTHONBUFFERED=1 - command: ["sh", "-c", "python stude/manage.py makemigrations && python stude/manage.py custom_migrate && python stude/manage.py runserver"] + command: ["sh", "-c", "python stude/manage.py collectstatic && python stude/manage.py makemigrations && python stude/manage.py custom_migrate && python stude/manage.py runserver"] volumes: - .:/code # For hotreloading depends_on: