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