FROM nginx:1.25-alpine RUN rm -rf /usr/share/nginx/html/* COPY frontend/index.html /usr/share/nginx/html/index.html COPY nginx.conf /etc/nginx/conf.d/default.conf HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD wget -qO- http://localhost/health || exit 1 EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]