Blob Blame History Raw
FROM registry.fedoraproject.org/fedora:26
MAINTAINER "Dan Callaghan" <dcallagh@redhat.com>
ENV NAME=waiverdb VERSION=0 RELEASE=5
LABEL com.redhat.component="$NAME" \
      name="$FGC/$NAME" \
      version="$VERSION" \
      release="$RELEASE.$DISTTAG" \
      summary="Service for waiving results in ResultsDB" \
      usage="docker run -p 8080:8080 -v waiverdb-config:/etc/waiverdb:ro waiverdb" \
      url="https://pagure.io/waiverdb"
RUN dnf -y install --setopt=tsflags=nodocs \
    python-gunicorn \
    python-psycopg2 \
    waiverdb \
    && dnf -y clean all
COPY README.md /README.md
USER 1001
EXPOSE 8080
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- waiverdb.wsgi:app