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

Add Dockerfile, gitlab-ci

parent 86776db9
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,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
......
Django==2.1.5
mysqlclient==1.4.1
wheel==0.32.3
gunicorn==19.9.0
psycopg2==2.7.7
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