From d8872f95e376de2f304e825275c04f911403d0ec Mon Sep 17 00:00:00 2001 From: BetterHuman Date: Tue, 5 May 2026 23:11:04 +0000 Subject: [PATCH] fix: remove package-lock.json in Docker build to fix rollup musl issue on Alpine --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7fdf4f37..5ff46dc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM node:20-alpine AS frontend-build WORKDIR /app/frontend COPY frontend/package*.json ./ -RUN npm install --legacy-peer-deps +# Remove lock file and reinstall fresh to avoid rollup musl bug on Alpine +RUN rm -f package-lock.json && npm install --legacy-peer-deps COPY frontend/ ./ RUN npm run build