TeamPGM / PagerMaid-Pyro

Advanced Multi-Featured Telegram UserBot by pyrogram.
GNU Affero General Public License v3.0
620 stars 73 forks source link

更轻量的基于 alpine 的 Dockerfile #80

Closed wy580477 closed 2 months ago

wy580477 commented 2 months ago

基于 Alpine 的 Dockerfile,构建以后 image 只有 210MB。

出于轻量化考虑,没有包括 ffmpeg 和 tesseract-ocr,需要的用户可以用 docker exec <容器名> apk add ffmpeg 的方式自行安装。

Description

Please carefully read the Contributing note and Code of conduct before making any pull requests. And, Do not make a pull request to merge into master unless it is a hotfix. Use the development branch instead.

Issues fixed by this PR

Type of changes

Checklist:

sourcery-ai[bot] commented 2 months ago

🧙 Sourcery has finished reviewing your pull request!


Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
omg-xtao commented 2 months ago

Merged, thanks.

wy580477 commented 2 months ago

Merged, thanks.

我又想了想,python 是不是固定版本比较好,固定到开发环境的版本,避免 python 版本不一样可能出问题。