Refactor: Update Hugo logging flags in Dockerfile
This commit is contained in:
parent
f622c4f6b9
commit
13ba0e844e
@ -15,7 +15,7 @@ COPY . .
|
||||
# - 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 --verbose --debug
|
||||
RUN hugo --gc --minify --logLevel info --logLevel debug
|
||||
|
||||
# Stage 2: Serve the site with Nginx
|
||||
FROM nginx:1.25-alpine
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user