Refactor: Update Hugo logging flags in Dockerfile

This commit is contained in:
Greg 2025-05-25 17:13:59 +02:00
parent f622c4f6b9
commit 13ba0e844e

View File

@ -15,7 +15,7 @@ COPY . .
# - Output will be in /src/public by default. # - Output will be in /src/public by default.
# - Added --verbose and --debug for more detailed build logs. # - Added --verbose and --debug for more detailed build logs.
# - Removed the '|| mkdir ...' fallback to ensure Hugo errors stop the build and are visible. # - Removed the '|| mkdir ...' fallback to ensure Hugo errors stop the build and are visible.
RUN hugo --gc --minify --verbose --debug RUN hugo --gc --minify --logLevel info --logLevel debug
# Stage 2: Serve the site with Nginx # Stage 2: Serve the site with Nginx
FROM nginx:1.25-alpine FROM nginx:1.25-alpine