mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-06-08 09:52:11 +08:00
This commit is contained in:
parent
734079661d
commit
664ac88c85
@ -8,7 +8,7 @@ COPY package.json /app/
|
|||||||
|
|
||||||
RUN --mount=type=cache,target=/app/node_modules,id=my_app_npm_module,sharing=locked \
|
RUN --mount=type=cache,target=/app/node_modules,id=my_app_npm_module,sharing=locked \
|
||||||
--mount=type=cache,target=/root/.npm,id=npm_cache \
|
--mount=type=cache,target=/root/.npm,id=npm_cache \
|
||||||
npm i --registry=https://registry.npm.taobao.org
|
npm i --registry=https://registry.npmmirror.com
|
||||||
|
|
||||||
COPY src /app/src
|
COPY src /app/src
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user