Files
homepage/Dockerfile
T
senior ed8e9d1ea2
build-and-push / build-and-push (push) Successful in 18s
@senior: Build the homepage: project cards from my GitHub (#6)
Co-authored-by: senior <senior@ffaerber.duckdns.org>
2026-07-08 09:49:04 +02:00

11 lines
368 B
Docker

FROM nginx:1.27-alpine
LABEL org.opencontainers.image.title="ffaerber/homepage" \
org.opencontainers.image.source="https://git.ffaerber.duckdns.org/ffaerber/homepage"
COPY index.html styles.css /usr/share/nginx/html/
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -qO- http://127.0.0.1/ >/dev/null 2>&1 || exit 1