diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ebb2c36 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +# Static HTML — served by nginx. +FROM nginx:1.27-alpine + +COPY index.html /usr/share/nginx/html/index.html + +EXPOSE 80 +HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ + CMD wget -qO- http://localhost/ > /dev/null || exit 1