diff options
author | 2021-08-25 22:40:34 +0000 | |
---|---|---|
committer | 2021-08-25 22:40:34 +0000 | |
commit | 3cb529b4a9524a10ee40f69f5c679350fc20bb5e (patch) | |
tree | 9cd177eb52aa6674fbba23385960aca411abbfc1 | |
parent | Run collectstatic in the image build process, disable in prod startup (diff) |
Add --noinput and --clear to collectstatic flags
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"] |