From 103dd69df948ec1ed78b45a3959f61454d2a6f29 Mon Sep 17 00:00:00 2001 From: kuekhaoyang Date: Sat, 6 Dec 2025 13:12:15 +0800 Subject: [PATCH] build: Add .npmrc to Dockerfile COPY instruction. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a75ea30..ee116a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apk add --no-cache libc6-compat WORKDIR /app # Install dependencies based on the preferred package manager -COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ +COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./ RUN \ if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ elif [ -f package-lock.json ]; then npm ci; \