diff --git a/Dockerfile b/Dockerfile index 0f6a193..aaa5a65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,10 @@ RUN dnf -y install --setopt=tsflags=nodocs \ waiverdb \ && dnf -y clean all COPY README.md /README.md +# Make sure fedmsg can write its CRL. +RUN chmod 777 /var/run/fedmsg/ +# Declare a user so that fedmsg.publish works. +ENV USER=openshift USER 1001 EXPOSE 8080 ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- waiverdb.wsgi:app