Sign inSign up

uoziod/tdlib-node

By uoziod

•Updated over 1 year ago

TDLib (Telegram Database Library) and NodeJS

Image
Developer tools
2

3.8K

uoziod/tdlib-node repository overview

⁠TDLib + NodeJS

Docker image of TDLib (Telegram Database Library)⁠ and NodeJS. Based on TDLib in Docker⁠ image.

Image tag names⁠ are formed from ${TDLIB_VERSION}_${NODEJS_VERSION}_${DISTRO}.

⁠Source code

Source code and pipelines that build this image: https://gitlab.com/uoziod/tdlib-node⁠

⁠Usage example

Dockerfile for your NodeJS app that uses TDLib, assuming your app starts with npm start:

FROM uoziod/tdlib-node:1.8.0_18_alpine-3.19


# Cache node_modules

ADD package.json /tmp/package.json
RUN cd /tmp && npm i
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/


WORKDIR /opt/app
ADD . /opt/app


CMD ["npm", "start"]

Tag summary

Content type

Image

Digest

sha256:081a64904…

Size

41 MB

Last updated

over 1 year ago

docker pull uoziod/tdlib-node:1.8.51_20_alpine-3.19