chore: add Docker npm build cache (#25860)
This commit is contained in:
parent
0bd636ea23
commit
546c4abcf1
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@ WORKDIR /build
|
|||
|
||||
# install node tools
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci
|
||||
|
||||
# build ui
|
||||
COPY Makefile .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue