Add cache for yarn in Dockerfile
This commit is contained in:
parent
10657f0164
commit
b2a27968ca
@ -6,7 +6,7 @@ COPY . .
|
||||
|
||||
# do not ignore optional dependencies:
|
||||
# Error: Cannot find module @rollup/rollup-linux-x64-gnu
|
||||
RUN yarn --network-timeout 600000
|
||||
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn yarn
|
||||
|
||||
ARG NODE_ENV=production
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user