From c67fe08a333eb0c5a911e2728bbc218ee83fce2a Mon Sep 17 00:00:00 2001 From: Drew Bowering Date: Sat, 10 May 2025 09:56:27 -0600 Subject: [PATCH] update Dockerfile - base it on the custom git.brds.ca/d-b.ca/hugo-builder (as the gohugo container doesn't really work for this). --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12ca3bb..3d55467 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ # Package versions -ARG HUGO_VERSION="v0.147.1" +ARG HUGO_VERSION="latest" ARG CADDY_VERSION="2.10.0" # Stage 1: Build -FROM ghcr.io/gohugoio/hugo:${HUGO_VERSION} AS builder +FROM git.brds.ca/d-b.ca/hugo-builder:${HUGO_VERSION} AS builder WORKDIR /project COPY . . -RUN hugo build +RUN hugo --minify build # Stage 2: Package FROM docker.io/caddy:${CADDY_VERSION}