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

This commit is contained in:
2026-08-25 02:40:57 +03:30
parent c61fafeb01
commit 5035879651
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
registry=https://package-mirror.liara.ir/repository/npm/ registry=https://registry.npmmirror.com/
+3 -3
View File
@@ -3,9 +3,9 @@ FROM node:22-alpine
WORKDIR /app WORKDIR /app
# Copy package descriptors and install dependencies # Copy package descriptors and npm configuration
COPY package*.json ./ COPY package*.json .npmrc* ./
RUN npm ci RUN npm ci --registry=https://registry.npmmirror.com
# Copy application source code # Copy application source code
COPY . . COPY . .