Explorar o código

中海财富中心

李莎 %!s(int64=2) %!d(string=hai) anos
pai
achega
be61886338
Modificáronse 2 ficheiros con 14 adicións e 0 borrados
  1. 9 0
      Dockerfile
  2. 5 0
      requirements.txt

+ 9 - 0
Dockerfile

@@ -0,0 +1,9 @@
+FROM python:3.7.15-slim
+
+
+WORKDIR ./sensor_alarm
+ADD . .
+
+RUN pip install --upgrade pip && pip install --no-cache-dir --upgrade -r requirements.txt
+
+CMD ["python", "-u","./main.py"]

+ 5 - 0
requirements.txt

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