containerfile: install npm, gen stylesheet
[skip ci]
This commit is contained in:
parent
17540bf453
commit
f53953e920
@ -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 .
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user