Execute manage.py before entrypoint.sh

This commit is contained in:
erik 2023-08-29 13:25:21 +02:00
parent 356a4a1eef
commit e8e0f8a1f2

View file

@ -18,8 +18,8 @@ spec:
containers: containers:
- name: taiga-back - name: taiga-back
command: command:
- /taiga-back/docker/entrypoint.sh - python /taiga-back/docker/manage.py createsuperuser --noinput
- /taiga-back/docker/manage.py createsuperuser --noinput - /taiga-back/docker/entrypoint.sh
image: taigaio/taiga-back:latest image: taigaio/taiga-back:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports: