saiblog/_docker/Dockerfile

7 lines
No EOL
180 B
Docker

FROM nginx:1.19.0-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'