feat: neue Website mit Docker-Deployment
Docker-Image bauen / Image bauen und veröffentlichen (push) Failing after 1m31s
Docker-Image bauen / Image bauen und veröffentlichen (push) Failing after 1m31s
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user