refactor: update Dockerfile
This commit is contained in:
parent
2a519248fd
commit
9d8758eb31
@ -9,7 +9,6 @@ lerna-debug.log*
|
|||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist
|
|
||||||
dist-ssr
|
dist-ssr
|
||||||
coverage
|
coverage
|
||||||
*.local
|
*.local
|
||||||
|
|||||||
@ -6,7 +6,7 @@ ENV PATH="$PNPM_HOME:$PATH"
|
|||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ./ /src
|
COPY ./ ./
|
||||||
|
|
||||||
# RUN两次方便观察install和build, 也可以用pnpm cache and locked
|
# RUN两次方便观察install和build, 也可以用pnpm cache and locked
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user