From fbe47bb7327a502577723d6d97a65bf145d68b6b Mon Sep 17 00:00:00 2001 From: Greg Date: Sun, 1 Jun 2025 21:58:31 +0200 Subject: [PATCH] fix: correct Hugo build flags to use --verbose and --debug instead of --logLevel --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 193886b..9b147df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,8 @@ COPY . . # Build the Hugo site. # - Output will be in /src/public by default. -# - Added --verbose and --debug for more detailed build logs. -# - Removed the '|| mkdir ...' fallback to ensure Hugo errors stop the build and are visible. -RUN hugo --gc --minify --logLevel info --logLevel debug +# - Using --verbose and --debug for more detailed build logs. +RUN hugo --gc --minify --verbose --debug # Stage 2: Serve the site with Nginx FROM nginx:1.25-alpine