Skip to content
Snippets Groups Projects
Commit 3e506f45 authored by Thomas  MENARD's avatar Thomas MENARD
Browse files

Update README.md

parent 0f676dbf
No related branches found
No related tags found
No related merge requests found
......@@ -361,7 +361,8 @@ spec:
containers:
- name: django
image: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME/polls:${CI_COMMIT_SHORT_SHA}
command: ['python', '/app/manage.py', 'migrate']
command: ["/bin/sh","-c"]
args: ["python manage.py makemigrations && python manage.py migrate"]
env:
- name: DATABASE_HOST
value: postgresql
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment