diff --git a/Dockerfile b/Dockerfile index 6cb254b..d0c46e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,5 +46,6 @@ RUN rm -rf /usr/share/nginx/html/.git \ EXPOSE 80 +# 127.0.0.1 statt localhost: localhost löst im Container auf ::1 auf, nginx lauscht nur auf IPv4 HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ - CMD wget -qO- http://localhost:80/ || exit 1 + CMD wget -qO- http://127.0.0.1:80/ >/dev/null || exit 1