ci: mount package lock for installs
This commit is contained in:
parent
87ef96d1af
commit
4883403f77
@ -1,9 +1,10 @@
|
||||
FROM node:15.1.0 as builder
|
||||
WORKDIR /project
|
||||
COPY package.json /project/package.json
|
||||
COPY package-lock.json /project/package-lock.json
|
||||
RUN npm ci
|
||||
|
||||
# use separate layer for more efficient caching
|
||||
COPY package.json /project/package.json
|
||||
COPY snowpack.config.js /project/snowpack.config.js
|
||||
COPY src /project/src
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user