Healthcheck für die Website
This commit is contained in:
@@ -5,4 +5,5 @@ COPY hugo /src
|
||||
RUN hugo --minify
|
||||
|
||||
FROM nginx:1.28.0-alpine-slim
|
||||
COPY --from=builder /src/public /usr/share/nginx/html
|
||||
COPY --from=builder /src/public /usr/share/nginx/html
|
||||
HEALTHCHECK --interval=1m --timeout=10s --start-period=10s CMD wget -q -O /dev/null http://localhost/ || exit 1
|
||||
Reference in New Issue
Block a user