From ef44c7c84aa2c3cd42e0c4b2b53e930f49c97152 Mon Sep 17 00:00:00 2001 From: Mohammad Kiani Date: Tue, 20 Jan 2026 07:37:02 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7b71086..fc6f6c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Dockerfile -FROM python:3.9-slim-bookworm +FROM hub.hamdocker.ir/python:3.9-slim-bookworm ENV TZ="Asia/Tehran" RUN ls /usr/share/zoneinfo && \ cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && \ @@ -40,6 +40,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* # Upgrade pip +RUN pip config --user set global.index https://mirror-pypi.runflare.com/simple +RUN pip config --user set global.index-url https://mirror-pypi.runflare.com/simple +RUN pip config --user set global.trusted-host mirror-pypi.runflare.com RUN pip install --upgrade pip # Copy requirements