Update Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user