FROM nginx:1.27-alpine COPY nginx.conf /etc/nginx/conf.d/default.conf COPY homepage.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