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