fix(docker): copy .npmrc and use npmmirror registry for fast builds

This commit is contained in:
2026-08-25 02:43:40 +03:30
parent e9f1f534d5
commit 0201089aee
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
registry=https://package-mirror.liara.ir/repository/npm/ registry=https://registry.npmmirror.com/
+2 -2
View File
@@ -2,9 +2,9 @@ FROM node:24-alpine
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json .npmrc* ./
RUN npm install RUN npm install --registry=https://registry.npmmirror.com
COPY . . COPY . .