Hopefully finally got it..
This commit is contained in:
parent
e3942ec527
commit
33fac19aba
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue