fix: use npm install instead of npm ci for build reliability
This commit is contained in:
parent
cfb4110d82
commit
5a5636c738
|
|
@ -2,7 +2,7 @@
|
||||||
FROM node:20-alpine AS build
|
FROM node:20-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm install --prefer-offline
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue