Use python package location
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
d3e6a01bbf
commit
2a94bd6f6e
1 changed files with 2 additions and 1 deletions
|
@ -17,8 +17,9 @@ items:
|
|||
license="MIT"
|
||||
RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/common/fedora-infra-tags.repo
|
||||
RUN dnf install -y bodhi-server python2-gunicorn
|
||||
RUN mv /usr/share/bodhi/bodhi.wsgi /usr/lib/python2.7/site-packages/bodhiwsgi.py
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- /usr/share/bodhi/bodhi.wsgi
|
||||
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- bodhiwsgi
|
||||
type: Dockerfile
|
||||
strategy:
|
||||
type: Docker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue