Show verbose log for npm install for easier debugging.

This commit is contained in:
Anduin Xue 2024-08-01 12:33:08 +00:00
parent acbd5cdb86
commit eb93c0ba0f
No known key found for this signature in database
GPG Key ID: D33FA9407A6BE728

View File

@ -3,7 +3,7 @@
FROM hub.aiursoft.cn/node:21-alpine as lint-env FROM hub.aiursoft.cn/node:21-alpine as lint-env
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN npm install RUN npm install --loglevel verbose
RUN npm run build RUN npm run build
RUN npm run lint RUN npm run lint