feat: 完善部署。
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ivan Li 2022-10-09 13:07:02 +08:00
parent c897b46f5c
commit 05faf000cb

View File

@ -6,7 +6,7 @@ RUN npm i --location=global pnpm@7 &&\
pnpm i
COPY . .
RUN pnpm build &&\
pnpm prune --prod
pnpm prune --prod --config.ignore-scripts=true
FROM node:16-alpine as release
WORKDIR /app