From 34e6810c147d7d0292582c1c8d08cbde5affb5ec Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 25 Aug 2026 17:46:51 -0500 Subject: [PATCH] Fix Docker install for Coolify Node Alpine. Use npm install with the repo npmrc so the lockfile generated on npm 11 installs cleanly during the image build. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9125eab..fa8da73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:22-alpine AS build WORKDIR /app -COPY package.json package-lock.json* ./ -RUN npm ci +COPY package.json package-lock.json .npmrc ./ +RUN npm install --legacy-peer-deps COPY . . RUN npm run build