From d7207c70a21aeb686c76d9c3e6544a24659e4c85 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Thu, 10 Oct 2019 20:53:04 +0200 Subject: [PATCH] Bodhi: move the wsgi file where httpd expect it in stg Signed-off-by: Clement Verna --- roles/openshift-apps/bodhi/templates/dockerfile-base | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/bodhi/templates/dockerfile-base b/roles/openshift-apps/bodhi/templates/dockerfile-base index ed52e97a5d..49c1268e64 100644 --- a/roles/openshift-apps/bodhi/templates/dockerfile-base +++ b/roles/openshift-apps/bodhi/templates/dockerfile-base @@ -47,7 +47,9 @@ RUN dnf install -y \ RUN git clone -b 5.0 https://github.com/fedora-infra/bodhi.git /srv/bodhi && \ cd /srv/bodhi && \ - python3 -m pip install . + python3 -m pip install . && \ + mkdir -p /usr/share/bodhi && \ + cp /srv/bodhi/apache/bodhi.wsgi /usr/share/bodhi/bodhi.wsgi # Set up krb5 RUN rm -f /etc/krb5.conf && \