This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
# مرحله اول: Builder
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
# اصلاح مِیرور آلپاین به رانفلر برای رفع خطای DNS و نصب tzdata
|
||||
RUN sed -i 's|https://dl-cdn.alpinelinux.org|https://alpine.runflare.com|g' /etc/apk/repositories \
|
||||
&& apk add --no-cache tzdata \
|
||||
&& cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \
|
||||
&& echo "Asia/Tehran" > /etc/timezone
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# کپی فایلهای اصلی
|
||||
|
||||
Reference in New Issue
Block a user