diff --git a/Dockerfile b/Dockerfile index 7553f4f..0280022 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,8 +31,8 @@ COPY --chown=www-data:www-data . . # Install Composer dependencies (production) RUN composer install --no-dev --optimize-autoloader --no-interaction -# Health check -HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ - CMD curl -fsS http://localhost/wp/wp-login.php || exit 1 +# Health check - prüft nur ob Webserver antwortet +HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \ + CMD curl -fsS http://localhost/ -o /dev/null || exit 1 EXPOSE 80