Files
mtprotoproxy/Dockerfile
T

16 lines
284 B
Docker

FROM alpine:3.6
RUN adduser tgproxy -u 10000 -D
RUN apk add --no-cache python3 py3-crypto
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"]