saiblog/_docker/Dockerfile

7 lines
No EOL
198 B
Docker

FROM docker.io/library/nginx:1.19.4-alpine
COPY ./public/ /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'