greenwave/Dockerfile
Ralph Bean e29f931fb6 Include the fedmsg-hub process.
Do this so that people can override the default ENTRYPOINT to use the
same container image to run the greenwave backend software.  See

- https://pagure.io/greenwave/pull-request/51
- https://pagure.io/greenwave/pull-request/86
2017-09-23 09:53:52 -04:00

18 lines
659 B
Docker

FROM registry.fedoraproject.org/fedora:rawhide
ENV NAME=greenwave VERSION=0 RELEASE=1
LABEL com.redhat.component="$NAME" \
name="$FGC/$NAME" \
version="$VERSION" \
release="$RELEASE.$DISTTAG" \
summary="Service for making decisions based on test results" \
usage="docker run -p 8080:8080 -v greenwave-config:/etc/greenwave:ro greenwave" \
url="https://pagure.io/greenwave"
RUN dnf -y install --setopt=tsflags=nodocs \
fedmsg-hub \
python-gunicorn \
greenwave \
&& dnf -y clean all
COPY README.md /README.md
USER 1001
EXPOSE 8080
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app