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
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies strictly from lockfile
|
# Install dependencies (no lockfile needed)
|
||||||
COPY package.json package-lock.json* ./
|
COPY package.json ./
|
||||||
RUN npm ci
|
RUN npm install
|
||||||
|
|
||||||
# Copy source files
|
# Copy source files
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue