mirror of
https://github.com/paul-nameless/tg
synced 2024-11-22 03:43:19 +00:00
Add docker (#74)
* Update README * Add docker for testing and it is a fast way to try our client Co-authored-by: Alex <lightme16@users.noreply.github.com>
This commit is contained in:
parent
6eb0c60b98
commit
29585ae972
3 changed files with 11 additions and 1 deletions
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM python:3.8.3-slim-buster
|
||||
|
||||
RUN pip install tg
|
||||
|
||||
CMD tg
|
|
@ -43,6 +43,11 @@ cd tg
|
|||
PYTHONPATH=. python3 tg/main.py
|
||||
```
|
||||
|
||||
Docker (voice recordings and notifications won't work):
|
||||
```sh
|
||||
docker run -it --rm tg
|
||||
```
|
||||
|
||||
## Optional dependencies
|
||||
|
||||
- [tdlib](https://tdlib.github.io/td/build.html?language=Python) - in case of incompatibility with built in package
|
||||
|
|
Loading…
Reference in a new issue