Update Dockerfile
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -7,14 +7,11 @@ ENV TZ="Asia/Tehran"
|
||||
# dpkg-reconfigure -f noninteractive tzdata
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# ساخت sources.list جدید با mirror ArvanCloud (برای سرعت در ایران)
|
||||
RUN echo "deb http://mirror.arvancloud.ir/debian bookworm main" > /etc/apt/sources.list \
|
||||
&& echo "deb-src http://mirror.arvancloud.ir/debian bookworm main" >> /etc/apt/sources.list \
|
||||
&& echo "deb https://mirror.arvancloud.ir/debian-security bookworm-security main" >> /etc/apt/sources.list \
|
||||
&& echo "deb-src https://mirror.arvancloud.ir/debian-security bookworm-security main" >> /etc/apt/sources.list \
|
||||
&& echo "deb http://mirror.arvancloud.ir/debian bookworm-updates main" >> /etc/apt/sources.list \
|
||||
&& echo "deb-src http://mirror.arvancloud.ir/debian bookworm-updates main" >> /etc/apt/sources.list
|
||||
|
||||
# استفاده از mirror آروان (خیلی سریعتر در ایران)
|
||||
RUN echo "deb http://mirror.arvancloud.ir/debian bookworm main contrib non-free" > /etc/apt/sources.list \
|
||||
&& echo "deb http://mirror.arvancloud.ir/debian bookworm-updates main contrib non-free" >> /etc/apt/sources.list \
|
||||
&& echo "deb http://mirror.arvancloud.ir/debian-security bookworm-security main contrib non-free" >> /etc/apt/sources.list
|
||||
|
||||
# Update + Install system deps (with apt cache)
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
|
||||
Reference in New Issue
Block a user