Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxBot for Docker #264

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:2.7-alpine
ADD . /wxBot
WORKDIR /wxBot
RUN pip install requests
RUN pip install pyqrcode
RUN pip install pypng
RUN apk update && apk add zlib-dev && apk add jpeg-dev && apk add alpine-sdk
RUN pip install Pillow
CMD ["python", "bot.py"]

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ python test.py

[zixia/wechaty](https://github.com/zixia/wechaty) Wechaty is wechat for bot in Javascript(ES6). It's a Personal Account Robot Framework/Library.

[autherlj/wxbot](https://hub.docker.com/r/autherlj/wxbot/)实现微信机器人的容器化
## 7 基于Wxbot延伸的一些项目
[WxbotManage](https://coding.net/u/vivre/p/WxbotManage/git) 基于Wxbot的微信多开管理和Webapi系统

Expand Down
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def handle_msg_all(self, msg):
def main():
bot = TulingWXBot()
bot.DEBUG = True
bot.conf['qr'] = 'png'
bot.conf['qr'] = 'tty'

bot.run()

Expand Down