14 lines
501 B
Docker
14 lines
501 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 src/website/ /usr/share/nginx/html/
|
|
|
|
EXPOSE 80
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
CMD wget -q --spider http://127.0.0.1/healthz || exit 1
|