Browse Source

中海财富中心

李莎 2 years ago
parent
commit
be61886338
2 changed files with 14 additions and 0 deletions
  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