This commit is contained in:
+6
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user