Simple Docker container to build TDLib (Telegram Database library) on Docker for tg-time or for your NodeJS project.
- Clone this repo:
git clone https://github.com/jeudesprits/tg-time-tdlib-build-docker
- Go to folder:
cd tg-time-tdlib-build-docker
- Build docker container:
docker build --tag=jeudesprits/tg-time-tdlib-build-docker .
- Run docker container. Be sure that you specify the correct path to copy
libtdjson.so
file. Example:
docker run --rm -v $HOME/dev/tg-time/lib:/libtdjson jeudesprits/tg-time-tdlib-build-docker:latest
- PROFIT!