saiblog/.docker/Dockerfile

9 lines
239 B
Docker

FROM docker.io/nginxinc/nginx-unprivileged:1.27.3-alpine
LABEL maintainer="saibotk"
COPY ./dist/ /usr/share/nginx/html/
COPY ./.docker/default.conf /etc/nginx/conf.d/
HEALTHCHECK CMD wget -O- http://127.0.0.1/status.txt | grep -q 'OK'