mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-14 07:13:09 +00:00
Add Pysocks in Dockerfile (#239)
It's necessary if using upstream SOCKS5 proxy.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y python3 python3-uvloop python3-cryptography libcap2-bin ca-certificates && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install --no-install-recommends -y python3 python3-uvloop python3-cryptography python3-socks libcap2-bin ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||||
RUN setcap cap_net_bind_service=+ep /usr/bin/python3.8
|
RUN setcap cap_net_bind_service=+ep /usr/bin/python3.8
|
||||||
|
|
||||||
RUN useradd tgproxy -u 10000
|
RUN useradd tgproxy -u 10000
|
||||||
|
|||||||
Reference in New Issue
Block a user