修改逻辑

This commit is contained in:
kagurazakanyaa committed 2021-01-21 17:10:51 +08:00
1 parent 0d5cf62944
commit 148b46f322
3 files changed
+15 -21

No files matched your search

+2
View File
@@ -3,7 +3,9 @@ ADD app.py requirements.txt /app/
ENV SLACK_SIGNING_SECRET=***
ENV SLACK_BOT_TOKEN=xoxb-***
ENV DINGTALK_WEBHOOK='https://oapi.dingtalk.com/robot/send?access_token=这里填写自己钉钉群自定义机器人的token'
ENV PORT=3000
WORKDIR /app
RUN pip install -r requirements.txt
RUN chmod +x app.py
EXPOSE 3000
ENTRYPOINT [ "python", "app.py" ]