diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..35d4533 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM python:3.8.3-slim-buster + +RUN pip install tg + +CMD tg diff --git a/README.md b/README.md index e60a2f9..d8f32aa 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 6fe1cc9..85933c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,4 +21,4 @@ line-length = 79 [tool.isort] line_length = 79 multi_line_output = 3 -include_trailing_comma = true +include_trailing_comma = true \ No newline at end of file