Files
hardtschule-karlsruhe.de/Dockerfile
T
jonas 5f9e64e9f4
Docker-Image bauen / Image bauen und veröffentlichen (push) Failing after 1m31s
feat: neue Website mit Docker-Deployment
2026-07-13 22:12:02 +02:00

15 lines
595 B
Docker

FROM nginx:alpine
LABEL org.opencontainers.image.title="Hardtschule Karlsruhe"
LABEL org.opencontainers.image.description="Statische Website der Hardtschule Karlsruhe"
LABEL org.opencontainers.image.source="https://git.servercentral.org/jonas/hardtschule-karlsruhe.de"
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY index.html impressum.html datenschutz.html styles.css script.js /usr/share/nginx/html/
COPY public/ /usr/share/nginx/html/public/
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -q --spider http://127.0.0.1/healthz || exit 1