init commit

This commit is contained in:
Alexander Bersenev
2018-05-27 15:12:17 +05:00
parent ca141f4dda
commit f2278bb1ce
9 changed files with 1188 additions and 2 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM alpine:3.6
RUN adduser tgproxy -u 10000 -D
RUN apk add --no-cache python3
COPY mtprotoproxy.py config.py /home/tgproxy/
COPY pyaes/*.py /home/tgproxy/pyaes/
RUN chown -R tgproxy:tgproxy /home/tgproxy
USER tgproxy
WORKDIR /home/tgproxy/
CMD ["./mtprotoproxy.py"]