Files
mta-sts/Dockerfile
2026-02-10 19:19:25 -03:00

15 lines
327 B
Docker

FROM nginx:alpine
# Copy nginx configuration
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
# Copy static content
COPY html/ /usr/share/nginx/html/
# Expose port 80
EXPOSE 80
# Health check
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=10s \
CMD wget --spider -q http://localhost || exit 1