diff --git a/Dockerfile b/Dockerfile index 62b8d96..09101cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,10 +12,13 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # install dependencies +ENV TZ="Asia/Tehran" +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.txt . -RUN --mount=type=cache,target=/root/.cache/pip \ - pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir -r requirements.txt # copy project COPY . /app/