From 3aacf66aaf0c8bd1d4d9fdca978b6c2f1b72e108 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Wed, 20 Sep 2023 04:34:41 +0800 Subject: [PATCH] Added --noinput to collectstatic to prevent crash --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9caad03..aa71e8e 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 collectstatic && python stude/manage.py makemigrations && python stude/manage.py custom_migrate && python stude/manage.py runserver"] + command: ["sh", "-c", "python stude/manage.py collectstatic --noinput && python stude/manage.py makemigrations && python stude/manage.py custom_migrate && python stude/manage.py runserver"] volumes: - .:/code # For hotreloading depends_on: