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