fix Dockerfiles: update npm to latest before ci
This commit is contained in:
+2
-1
@@ -1,7 +1,8 @@
|
||||
FROM node:22-alpine AS builder
|
||||
RUN npm install -g npm@latest
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci --ignore-scripts
|
||||
RUN npm ci --ignore-scripts --no-audit --no-fund
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user