From 04aa1cfe8d7cf9e52dd20e2c68261aecdb92ce74 Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Thu, 11 Jun 2026 10:57:46 +0330 Subject: [PATCH] up --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9029823..0e5133f 100755 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,13 @@ RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/a # Configure npm registry mirror ENV NPM_CONFIG_REGISTRY=https://registry.npmmirror.com -# Install tzdata to support timezone settings -RUN apk add --no-cache tzdata -ENV TZ=Asia/Tehran +# Install tzdata and set timezone +RUN apk add --no-cache tzdata \ + && cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \ + && echo "Asia/Tehran" > /etc/timezone \ + && apk del tzdata -# Set the timezone to Asia/Tehran -RUN cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && echo "Asia/Tehran" > /etc/timezone +ENV TZ=Asia/Tehran FROM base AS deps