mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 11:06:31 +00:00
ci: run npm ci in dockerfile
This commit is contained in:
@@ -2,6 +2,8 @@ FROM golang:alpine3.21 AS build
|
||||
RUN apk add build-base git nodejs npm
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
--mount=type=cache,target=/root/go/pkg \
|
||||
make host
|
||||
|
||||
Reference in New Issue
Block a user