From f53953e9200806d6a614e50b816f94ebd101c986 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 28 May 2023 20:05:01 +0200 Subject: [PATCH] containerfile: install npm, gen stylesheet [skip ci] --- Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index d2b6260..9ce42f0 100644 --- a/Containerfile +++ b/Containerfile @@ -24,8 +24,9 @@ COPY . /go/pcmt WORKDIR /go/pcmt -RUN CGO_ENABLED=0 \ - GOLDFLAGS="-s -w -X main.version=${VERSION:-prod}" \ +RUN apk add --no-cache npm=9.1.2-r0 \ + && go generate -v . \ + && CGO_ENABLED=0 GOLDFLAGS="-s -w -X main.version=${VERSION:-prod}" \ go build -v .