From 453029c139821622ebd4da1d2b60dd2c5b88b7be Mon Sep 17 00:00:00 2001 From: Giancarmine Salucci Date: Wed, 6 May 2026 17:01:14 +0200 Subject: [PATCH] fix: use npm install instead of npm ci in Dockerfile 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> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 09ac0ec..0223218 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .