Fix for latest OpenShift

This commit is contained in:
František Zatloukal 2020-09-30 23:27:44 +02:00
commit 56d6a60814

View file

@ -35,7 +35,7 @@ COPY . /opt/app-root/src/blockerbugs/
RUN pip3 install --no-deps /opt/app-root/src/blockerbugs/
# fix apache config for container use
RUN sed -i 's#^WSGISocketPrefix .*#WSGISocketPrefix /var/run/wsgi#' /opt/app-root/src/blockerbugs/conf/blockerbugs.conf
RUN sed -i 's#^WSGISocketPrefix .*#WSGISocketPrefix /tmp/wsgi#' /opt/app-root/src/blockerbugs/conf/blockerbugs.conf
# install launch script
RUN install -p -m 0755 /opt/app-root/src/blockerbugs/container_start.sh /usr/bin/container_start