containerized-data-importer/hack/build/docker/cdi-func-test-file-host-http/Dockerfile
Alexander Wels 0a32c5be1c Test prometheus endpoint existance.
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-02-28 11:42:13 -05:00

28 lines
406 B
Docker

FROM fedora:28
MAINTAINER "The KubeVirt Project" <kubevirt-dev@googlegroups.com>
ENV container docker
RUN dnf -y update && dnf -y install nginx && dnf clean all -y
ARG IMAGE_DIR=/usr/share/nginx/html/images
RUN mkdir -p $IMAGE_DIR/priv
RUN mkdir -p $IMAGE_DIR
RUN rm -f /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/
COPY htpasswd /etc/nginx/
EXPOSE 80
EXPOSE 81
EXPOSE 82
ENTRYPOINT nginx