This commit is contained in:
@@ -1 +1 @@
|
|||||||
registry=https://mirror-npm.runflare.com
|
registry=https://registry.npmmirror.com
|
||||||
|
|||||||
+2
-2
@@ -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
|
# RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/alpine|g' /etc/apk/repositories
|
||||||
|
|
||||||
# Configure npm registry mirror
|
# 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
|
# Install tzdata to support timezone settings
|
||||||
RUN apk add --no-cache tzdata
|
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
|
FROM base AS deps
|
||||||
WORKDIR /temp-deps
|
WORKDIR /temp-deps
|
||||||
COPY package*.json package-lock.json ./
|
COPY .npmrc package*.json package-lock.json ./
|
||||||
RUN npm ci --loglevel info
|
RUN npm ci --loglevel info
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user