replace cherrypy with daphne

This commit is contained in:
Jens Langhammer
2019-04-11 13:43:49 +02:00
parent 366ef352c6
commit 19cd1624c1
4 changed files with 21 additions and 33 deletions

View File

@ -29,7 +29,7 @@ spec:
image: "docker.pkg.beryju.org/passbook:{{ .Values.image.tag }}"
imagePullPolicy: IfNotPresent
command: ["/bin/sh","-c"]
args: ["./manage.py migrate && daphne -p 8000 passbook.core.asgi:application"]
args: ["./manage.py migrate && ./manage.py web"]
ports:
- name: http
containerPort: 8000