FROM nginx:alpine RUN apk update && \ apk add curl COPY ./nginx.conf /etc/nginx/nginx.conf HEALTHCHECK --interval=15s --timeout=3s CMD curl --fail http://localhost/ping || exit 1