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
|
WORKDIR /app
|
||||||
|
|
||||||
# Install Hugo and Git
|
# Install Hugo and Git
|
||||||
RUN apk add --no-cache hugo
|
RUN apk add --no-cache hugo git
|
||||||
|
|
||||||
# Copy the repository contents
|
# Copy the repository contents
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build the site with verbose output
|
# Build the site with verbose output
|
||||||
RUN hugo --minify --verbose
|
RUN hugo --minify
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
|
@ -8,6 +8,9 @@ defaultContentLanguage = "en"
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
summaryLength = 0
|
summaryLength = 0
|
||||||
|
|
||||||
|
# Increase the generation timeout to 240 seconds due to heavy image processing and a slow VM cpu
|
||||||
|
timeout = 240000
|
||||||
|
|
||||||
[pagination]
|
[pagination]
|
||||||
pagerSize = 10
|
pagerSize = 10
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue