Dockerfile 400 Bytes
Newer Older
1 2
FROM psono-docker.jfrog.io/nginx:alpine

Sascha Pfeiffer's avatar
Sascha Pfeiffer committed
3 4 5
LABEL maintainer="Sascha Pfeiffer <sascha.pfeiffer@psono.com>"

RUN apk upgrade --no-cache \
6
	&& apk add --no-cache curl
Sascha Pfeiffer's avatar
Sascha Pfeiffer committed
7 8 9 10 11 12 13

COPY ./configs/nginx.conf /etc/nginx/nginx.conf
COPY ./configs/default.conf /etc/nginx/conf.d/default.conf
COPY ./build/webclient /usr/share/nginx/html/

HEALTHCHECK --interval=30s --timeout=3s \
	CMD curl -f http://localhost/ || exit 1