fix: use npm install instead of npm ci in Dockerfile
All checks were successful
Build & Push Docker Image / build-and-push (push) Successful in 46s

npm ci fails with optional platform-specific dependencies (@emnapi/core,
@emnapi/runtime) that are not recorded in the lock file for Alpine Linux.
npm install handles optional dependencies correctly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Giancarmine Salucci
2026-05-06 17:01:14 +02:00
parent b43ad9ce9a
commit 453029c139

View File

@@ -7,7 +7,7 @@ WORKDIR /app
# Install dependencies first (better layer caching)
COPY package.json package-lock.json ./
RUN npm ci
RUN npm install
# Copy source and build
COPY . .