fix: 修复 CI 清理 dev deps 失败。
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ivan Li 2022-10-07 23:58:05 +08:00
parent 8f70c41086
commit e64ece00ab

View File

@ -9,6 +9,6 @@ FROM node:16-alpine as release
WORKDIR /app
COPY --from=base /app ./
RUN npm run build &&\
npm prune --omit dev
npm prune --omit dev --legacy-peer-deps
EXPOSE 80
CMD npm run serve -- --port 80