From dd9f79aadfe691c0ddac237272b3cad749960c41 Mon Sep 17 00:00:00 2001 From: Cheick Oumar D Date: Sun, 17 May 2026 17:22:20 +0200 Subject: [PATCH] fix: update Hugo base image and fix build output path --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4b77329..2f11eba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM klakegg/hugo:ext-alpine-onbuild AS builder +FROM klakegg/hugo:0.128.0-ext-alpine AS builder WORKDIR /src COPY . . @@ -18,11 +18,11 @@ ENV HUGO_FORMBRICKS_ENV_ID=$HUGO_FORMBRICKS_ENV_ID ENV HUGO_FORMBRICKS_EVENT=$HUGO_FORMBRICKS_EVENT ENV HUGO_FORMBRICKS_SDK_URL=$HUGO_FORMBRICKS_SDK_URL -RUN hugo --config ./hugo.toml --environment production --minify +RUN hugo --config ./hugo.toml --environment production --minify --destination /tmp/public FROM nginx:1.27-alpine -COPY --from=builder /src/public /usr/share/nginx/html +COPY --from=builder /tmp/public /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]