From e1f817b64bba8f1d9650d7dcc25a77b7900f3da0 Mon Sep 17 00:00:00 2001 From: haoyanbin <605649647@qq.com> Date: Mon, 29 Apr 2024 15:36:53 +0800 Subject: [PATCH] 1 --- Dockerfile | 3 +-- pip.conf | 1 - requirements.txt | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 pip.conf diff --git a/Dockerfile b/Dockerfile index 2aaacb1..4b3480d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ FROM python:3.8 WORKDIR / -COPY pip.conf /etc/pip.conf -RUN pip install --upgrade pip +RUN /usr/local/bin/python -m pip install --upgrade pip -i https://pypi.python.org/simple COPY requirements.txt ./ RUN pip install -r requirements.txt diff --git a/pip.conf b/pip.conf deleted file mode 100644 index 48267b2..0000000 --- a/pip.conf +++ /dev/null @@ -1 +0,0 @@ -[global] trusted-host=mirrors.aliyun.com index-url=http://mirrors.aliyun.com/pypi/simple \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 9aa2537..b9999c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ beautifulsoup4==4.12.3 clickhouse_driver==0.2.7 Flask==3.0.3 -py2neo==2021.2.3 +py2neo==2021.2.4 pyecharts==2.0.5 PyMySQL==1.1.0 Requests==2.31.0 -- 2.18.1