diff --git a/Dockerfile b/Dockerfile index a67e686..055487b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,13 @@ FROM golang:1.24-alpine AS builder WORKDIR /app # Install Hugo and Git -RUN apk add --no-cache hugo +RUN apk add --no-cache hugo git # Copy the repository contents COPY . . # Build the site with verbose output -RUN hugo --minify --verbose +RUN hugo --minify # Production stage FROM nginx:alpine diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index bf61a1a..f88250e 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -8,6 +8,9 @@ defaultContentLanguage = "en" enableRobotsTXT = true summaryLength = 0 +# Increase the generation timeout to 240 seconds due to heavy image processing and a slow VM cpu +timeout = 240000 + [pagination] pagerSize = 10