refactor: update Dockerfile

This commit is contained in:
zyronon 2024-05-01 21:09:08 +08:00
parent 2a519248fd
commit 9d8758eb31
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ lerna-debug.log*
node_modules node_modules
.DS_Store .DS_Store
dist
dist-ssr dist-ssr
coverage coverage
*.local *.local

View File

@ -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