代码拉取完成,页面将自动刷新
FROM python:3.9.2
WORKDIR /luck-yungui-dingtalk-xunjian
COPY . /luck-yungui-dingtalk-xunjian
RUN pip3 install -r /luck-yungui-dingtalk-check/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --target=/usr/local/lib/python3.9/site-packages --upgrade
RUN Restart=always
# 设置容器端口号
EXPOSE 5007
# 设置环境变量
ENV SERVER_PORT 5007
ENV BASIC_AUTH1 "admin"
ENV BASIC_AUTH2 "luckserver"
ENV LOG_APP_KEY "KEY_234470c6-8abf-44dc-9f60-a9eabce04141"
ENV LOG_APP_SECRET "SECRET_6e4428ae-5fe0-468a-8028-296582bc3fc2"
ENV LOG_URL "http://10.10.10.166:32535"
ENV LOG_URL_BASIC_AUTH1 "admin"
ENV LOG_URL_BASIC_AUTH2 "luckserver"
ENV AGENT_ID 804578772
ENV APP_KEY "dingkwmfrbsv0cencgb9"
ENV APP_SECRET "_OVByoifueYAH0X6mAQjleWfgFhB0cfZ3v4MNgAHrfjYG-a_u4ULXbN9ujdpoVOe"
ENV DINGTALK_APP_KEY "KEY_234470c6-8abf-44dc-9f60-a9eabce04141"
ENV DINGTALK_APP_SECRET "SECRET_6e4428ae-5fe0-468a-8028-296582bc3fc2"
ENV DINGTALK_URL "http://10.10.10.166:32535"
ENV DINGTALK_URL_BASIC_AUTH1 "admin"
ENV DINGTALK_URL_BASIC_AUTH2 "luckserver"
ENV DINGTALK_ROBOT_SECRET_1 "SEC108c2176b230090e8bede00717d04e8455aabb0fe5a747eddb42b17a1d385416"
ENV DINGTALK_ROBOT_ACCESS_TOKEN_1 "7144ea46a2a09b877935eda8171c1e872e7ee0990fbf45b2e18d9927a3442ade"
ENV DINGTALK_ROBOT_SECRET_2 ""
ENV DINGTALK_ROBOT_ACCESS_TOKEN_2 ""
ENV DINGTALK_ROBOT_SECRET_3 ""
ENV DINGTALK_ROBOT_ACCESS_TOKEN_3 ""
ENV DINGTALK_USER_JOB_NUMBER ""
ENV DETECT_URL "http://127.0.0.1:5009"
ENV TZ "Asia/Shanghai"
# 启动服务
CMD ["python3", "/luck-yungui-dingtalk-xunjian/start.py"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。