Use entrypoint instead of command

This commit is contained in:
Michal Konečný 2018-11-28 11:24:27 +01:00
parent 37bb9f815a
commit ef4d702aad
2 changed files with 1 additions and 2 deletions

View file

@ -62,6 +62,7 @@ items:
RUN ln -sf /etc/pki/fedmsg/crt/fedmsg-release-monitoring.crt /etc/pki/fedmsg/release-monitoring.crt RUN ln -sf /etc/pki/fedmsg/crt/fedmsg-release-monitoring.crt /etc/pki/fedmsg/release-monitoring.crt
EXPOSE 8080 EXPOSE 8080
EXPOSE 9940 EXPOSE 9940
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- anitya.wsgi:application
type: Dockerfile type: Dockerfile
strategy: strategy:
type: Docker type: Docker

View file

@ -40,8 +40,6 @@ items:
containers: containers:
- name: release-monitoring-web - name: release-monitoring-web
image: release-monitoring/release-monitoring-web:latest image: release-monitoring/release-monitoring-web:latest
command:
- gunicorn --bind 0.0.0.0:8080 --access-logfile=- anitya.wsgi:application
env: env:
- name: USER - name: USER
value: anitya value: anitya