Skip to content

Commit

Permalink
Merge pull request #93 from nerc-project/fix-static-files-init-container
Browse files Browse the repository at this point in the history
clear static storage and disable prompts for input
  • Loading branch information
jtriley authored Jun 8, 2023
2 parents b833027 + d546277 commit a7fdbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/base/static-files/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
- name: coldfront-static-files-copy
image: 'ghcr.io/nerc-project/coldfront-nerc:main'
imagePullPolicy: Always
command: ["/bin/sh", "-c", "STATIC_ROOT=/webroot/static /opt/venv/bin/django-admin.py collectstatic"]
command: ["/bin/sh", "-c", "STATIC_ROOT=/webroot/static /opt/venv/bin/django-admin.py collectstatic --no-input --clear"]
env:
- name: DATABASE_HOST
value: ''
Expand Down

0 comments on commit a7fdbb0

Please sign in to comment.