Update Dockerfile

This commit is contained in:
2026-01-20 07:37:02 +00:00
parent cdbb2e11ed
commit ef44c7c84a

View File

@@ -1,5 +1,5 @@
# Dockerfile # Dockerfile
FROM python:3.9-slim-bookworm FROM hub.hamdocker.ir/python:3.9-slim-bookworm
ENV TZ="Asia/Tehran" ENV TZ="Asia/Tehran"
RUN ls /usr/share/zoneinfo && \ RUN ls /usr/share/zoneinfo && \
cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && \ 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/* && rm -rf /var/lib/apt/lists/*
# Upgrade pip # 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 RUN pip install --upgrade pip
# Copy requirements # Copy requirements