revert dockerfile for testing k8
Build Hugo / build (push) Successful in 2m7s
Build Hugo / deploy (push) Successful in 23s

This commit is contained in:
2026-08-22 01:29:42 +00:00
parent 2a18854894
commit 00ba36191f
+10 -9
View File
@@ -6,16 +6,17 @@
FROM --platform=$BUILDPLATFORM ghcr.io/hugomods/hugo:0.157.0 AS build FROM --platform=$BUILDPLATFORM ghcr.io/hugomods/hugo:0.157.0 AS build
WORKDIR /tmp/hugo WORKDIR /tmp/hugo
COPY go.mod ./ #COPY go.mod ./
RUN hugo mod get #RUN hugo mod get
#
COPY archetypes ./archetypes #COPY archetypes ./archetypes
COPY assets ./assets #COPY assets ./assets
COPY content ./content #COPY content ./content
COPY static ./static #COPY static ./static
COPY themes ./themes #COPY themes ./themes
COPY hugo.* ./ #COPY hugo.* ./
COPY . .
RUN hugo --gc --minify RUN hugo --gc --minify
FROM ghcr.io/static-web-server/static-web-server:2 FROM ghcr.io/static-web-server/static-web-server:2