fix: 修复 CI 清理 dev deps 失败。
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8f70c41086
commit
e64ece00ab
@ -9,6 +9,6 @@ FROM node:16-alpine as release
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=base /app ./
|
COPY --from=base /app ./
|
||||||
RUN npm run build &&\
|
RUN npm run build &&\
|
||||||
npm prune --omit dev
|
npm prune --omit dev --legacy-peer-deps
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD npm run serve -- --port 80
|
CMD npm run serve -- --port 80
|
Loading…
Reference in New Issue
Block a user