wangrongding / wechat-bot

🤖一个基于 WeChaty 结合 OpenAi ChatGPT / Kimi / 讯飞等Ai服务实现的微信机器人 ,可以用来帮助你自动回复微信消息,或者管理微信群/好友,检测僵尸粉等...
MIT License
4.39k stars 658 forks source link

Enhance Dockerfile & Add Alpine image #128

Closed saiwas closed 1 year ago

saiwas commented 1 year ago

Relate to https://github.com/wangrongding/wechat-bot/issues/94

This PR has below changes:


Image Size:

REPOSITORY   TAG              IMAGE ID       CREATED        SIZE
wechat-bot   node-19-alpine   2b1c50d9a116   3 hours ago    844MB
wechat-bot   node-19          c46390dfe3d8   5 hours ago    1.95GB

Usage:

# APT_SOURCE supports `default` and `aliyun`
docker build -t wechat-bot:node-19 --build-arg APT_SOURCE="aliyun" .
docker build -t wechat-bot:node-19-alpine -f Dockerfile.alpine --build-arg APT_SOURCE="aliyun" .