Forráskód Böngészése

获取博锐数据

李莎 1 éve
szülő
commit
414d61e2be
2 módosított fájl, 3 hozzáadás és 2 törlés
  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