web-deploy/Dockerfile
2024-09-19 14:34:17 +02:00

12 lines
265 B
Docker

FROM nginx:1.21.6-alpine
LABEL maintainer="greg.lebreton@hotmail.com"
COPY ./html /usr/share/nginx/html
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost/ || exit 1
CMD ["nginx", "-g", "daemon off;"]