mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
init commit
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user