From ae59823aa669e6f7fd97fabc0b98e136df9e43bc Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Sat, 30 May 2026 11:45:26 +0330 Subject: [PATCH] dockerfile: --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index b33b57a..0518840 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,13 @@ FROM node:20-alpine AS base +# Change Alpine repo +RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/alpine|g' /etc/apk/repositories + +# Configure npm registry mirror (Liara) +ENV NPM_CONFIG_REGISTRY=https://package-mirror.liara.ir/repository/npm/ +RUN npm config set registry https://package-mirror.liara.ir/repository/npm/ + +# Install tzdata to support timezone settings RUN apk add --no-cache tzdata && \ cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && \ echo "Asia/Tehran" > /etc/timezone