From af44031f0555af35129b36dc7cd84b2c1cc6070c Mon Sep 17 00:00:00 2001 From: Cheick Oumar D Date: Sun, 17 May 2026 17:25:36 +0200 Subject: [PATCH] fix: update build output path in Dockerfile to use /out directory --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18579b1..27cbe98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,11 +18,13 @@ 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 --destination /tmp/public +RUN mkdir -p /out \ + && hugo --config ./hugo.toml --environment production --minify --destination /out \ + && test -f /out/index.html FROM nginx:1.27-alpine -COPY --from=builder /tmp/public /usr/share/nginx/html +COPY --from=builder /out /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]