aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-08-25 22:40:34 +0000
committerGravatar GitHub <[email protected]>2021-08-25 22:40:34 +0000
commit3cb529b4a9524a10ee40f69f5c679350fc20bb5e (patch)
tree9cd177eb52aa6674fbba23385960aca411abbfc1
parentRun collectstatic in the image build process, disable in prod startup (diff)
Add --noinput and --clear to collectstatic flags
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 3e0ebbb0..c07fc2e2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -29,7 +29,7 @@ RUN \
SECRET_KEY=dummy_value \
DATABASE_URL=postgres://localhost \
METRICITY_DB_URL=postgres://localhost \
- python manage.py collectstatic
+ python manage.py collectstatic --noinput --clear
# Run web server through custom manager
ENTRYPOINT ["python", "manage.py"]