diff --git a/.npmrc b/.npmrc index ced459f..7549542 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ -registry=https://mirror-npm.runflare.com +registry=https://registry.npmmirror.com diff --git a/Dockerfile b/Dockerfile index c76c954..b38c297 100755 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM node:22-alpine AS base # RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/alpine|g' /etc/apk/repositories # Configure npm registry mirror -ENV NPM_CONFIG_REGISTRY=https://package-mirror.liara.ir/repository/npm +ENV NPM_CONFIG_REGISTRY=https://registry.npmmirror.com # Install tzdata to support timezone settings RUN apk add --no-cache tzdata @@ -17,7 +17,7 @@ RUN cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && echo "Asia/Tehran" > /e FROM base AS deps WORKDIR /temp-deps -COPY package*.json package-lock.json ./ +COPY .npmrc package*.json package-lock.json ./ RUN npm ci --loglevel info