Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.

Feature: Containerize #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Feature: Containerize #16

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 2, 2021

Container implementation based on Python 3 Alpine Docker image. With packages Git, GCC, musl-dev.
Main Working directory /tg-captcha/workdir.

At this moment, you need to config your bot (auth,ini & config.json) before starting the container.
Sample command: docker run -it --name="tg-captcha" -v /path-to-config-files/auth.ini:/tg-captcha/workdir/auth.ini -v /path-to-config-files/config.json:/tg-captcha/workdir/config.json --restart=always tg-captcha

docker-run.sh will check pip package update and pull updated source code from Github on startup.

Container implementation based on Python 3 Alpine Docker image. With packages `Git`, `GCC`, `musl-dev`.
Main Working directory `/tg-captcha/workdir`.

At this moment, you need to config your bot (auth,ini & config.json) before starting the container. 
Sample command: `docker run -it --name="tg-captcha" -v /path-to-config-files/auth.ini:/tg-captcha/workdir/auth.ini -v /path-to-config-files/config.json:/tg-captcha/workdir/config.json --restart=always tg-captcha`
@ghost
Copy link
Author

ghost commented Feb 2, 2021

Close #15
@Tooruchan 大佬我改完啦, 求检阅哈哈

Pull latest change on Github when container restarted.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants