From 1ae02c70ee16fd0d62833dae340d0282d327d595 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Thu, 25 Jun 2020 22:38:30 -0700 Subject: [PATCH] Clear the old files when collecting static files. --- web/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docker-entrypoint.sh b/web/docker-entrypoint.sh index 41632344..ba5f9e15 100755 --- a/web/docker-entrypoint.sh +++ b/web/docker-entrypoint.sh @@ -113,7 +113,7 @@ else fi # Collect static for the django installation. -python3 manage.py collectstatic --noinput +python3 manage.py collectstatic --noinput --clear --verbosity 0 # Migrate all the data to the database if this is a new installation, otherwise # this command will upgrade the database.