浏览代码

获取博锐数据

李莎 1 年之前
父节点
当前提交
414d61e2be
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 1
      Dockerfile
  2. 1 1
      requirements.txt

+ 2 - 1
Dockerfile

@@ -3,6 +3,7 @@ FROM python:3.7.15-slim
 
 WORKDIR ./persagy_transfer_energy
 ADD . .
-RUN pip install -r requirements.txt
+RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
+RUN pip install --processes 4 -r requirements.txt
 
 CMD ["python", "-u","./main.py"]

+ 1 - 1
requirements.txt

@@ -1,5 +1,5 @@
+pytz==2021.1
 requests==2.27.1
 pymysql==1.0.2
 dbutils==2.0.2
-pytz==2021.1
 dingtalkchatbot==1.5.2