This commit is contained in:
coward
2024-06-04 10:45:38 +08:00
parent 177d8b2472
commit b9f153836d
2 changed files with 2 additions and 8 deletions

View File

@@ -1,14 +1,14 @@
FROM node:18-alpine as build-stage
WORKDIR front
COPY . .
COPY ./web-src .
WORKDIR web-src
RUN ls -lh
RUN corepack enable
RUN corepack prepare pnpm@8.6.10 --activate
RUN npm config set registry https://registry.npmmirror.com
RUN pnpm install --frozen-lockfile
RUN pnpm install
RUN pnpm build