Fix Dockerfile: use npm install instead of npm ci
This commit is contained in:
parent
4325116903
commit
7b1e02588d
1 changed files with 3 additions and 3 deletions
|
|
@ -8,9 +8,9 @@ RUN apk add --no-cache git
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies strictly from lockfile
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci
|
||||
# Install dependencies (no lockfile needed)
|
||||
COPY package.json ./
|
||||
RUN npm install
|
||||
|
||||
# Copy source files
|
||||
COPY . .
|
||||
|
|
|
|||
Loading…
Reference in a new issue