From 9ccbfd47647b3036298082bb07794963cde3b38a Mon Sep 17 00:00:00 2001 From: danak Date: Wed, 10 Jun 2026 12:01:13 +0000 Subject: [PATCH] Update Dockerfile update docker file --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e41d84..15f0a9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,13 +7,9 @@ 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 (Liara) -ENV NPM_CONFIG_REGISTRY=https://mirror-npm.runflare.com -RUN npm config set registry https://mirror-npm.runflare.com +#ENV NPM_CONFIG_REGISTRY=https://mirror-npm.runflare.com +#RUN npm config set registry https://mirror-npm.runflare.com -# 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 WORKDIR /app @@ -22,7 +18,7 @@ WORKDIR /app # -------------------- FROM base AS deps -RUN apk add --no-cache libc6-compat git +# RUN apk add --no-cache libc6-compat git COPY package.json package-lock.json ./ RUN npm ci --legacy-peer-deps --ignore-scripts --loglevel info