patch 968b4238c8e11e5e2fd2321b69afb5c3d67e0621
Author: Peter Bui <pbui@bx612.space>
Date: Fri Jul 26 04:15:07 CEST 2019
* Add Dockerfile
diff -rN -u old-irgramd/Dockerfile new-irgramd/Dockerfile
--- old-irgramd/Dockerfile 1970-01-01 01:00:00.000000000 +0100
+++ new-irgramd/Dockerfile 2024-11-23 06:45:42.874861540 +0100
@@ -0,0 +1,14 @@
+FROM alpine:latest
+MAINTAINER Peter Bui <pbui@yld.bx612.space>
+
+RUN apk update && \
+ apk add python3 py3-pip
+
+RUN pip3 install telethon tornado==5.1.1
+
+RUN wget -O - https://gitlab.com/pbui/irtelegramd/-/archive/master/irtelegramd-master.tar.gz | tar xzvf -
+
+COPY irtelegramd.py /irtelegramd-master
+
+EXPOSE 6667
+ENTRYPOINT ["/irtelegramd-master/irtelegramd.py", "--address=0.0.0.0", "--config_dir=/var/lib/irtelegramd"]