Execute createsuperuser only when previous cmd was successful
This commit is contained in:
parent
3b17a88d6d
commit
e9755a6b3f
1 changed files with 1 additions and 2 deletions
|
@ -22,8 +22,7 @@ spec:
|
|||
ports:
|
||||
- containerPort: 80
|
||||
command:
|
||||
- python manage.py
|
||||
- python manage.py createsuperuser
|
||||
- python manage.py && python manage.py createsuperuser
|
||||
volumeMounts:
|
||||
- name: taiga-static
|
||||
mountPath: /taiga-back/static
|
||||
|
|
Loading…
Reference in a new issue