revert dockerfile for testing k8
This commit is contained in:
+10
-9
@@ -6,16 +6,17 @@
|
||||
FROM --platform=$BUILDPLATFORM ghcr.io/hugomods/hugo:0.157.0 AS build
|
||||
WORKDIR /tmp/hugo
|
||||
|
||||
COPY go.mod ./
|
||||
RUN hugo mod get
|
||||
|
||||
COPY archetypes ./archetypes
|
||||
COPY assets ./assets
|
||||
COPY content ./content
|
||||
COPY static ./static
|
||||
COPY themes ./themes
|
||||
COPY hugo.* ./
|
||||
#COPY go.mod ./
|
||||
#RUN hugo mod get
|
||||
#
|
||||
#COPY archetypes ./archetypes
|
||||
#COPY assets ./assets
|
||||
#COPY content ./content
|
||||
#COPY static ./static
|
||||
#COPY themes ./themes
|
||||
#COPY hugo.* ./
|
||||
|
||||
COPY . .
|
||||
RUN hugo --gc --minify
|
||||
|
||||
FROM ghcr.io/static-web-server/static-web-server:2
|
||||
|
||||
Reference in New Issue
Block a user