Alpine 3.11, Python 3.8 (#185)

This commit is contained in:
Boris Klimenko
2020-01-22 21:04:29 +03:00
committed by Alexander Bersenev
parent 66ac871a74
commit 199eaeb7c4

View File

@@ -1,11 +1,11 @@
FROM alpine:3.10 FROM alpine:3.11
RUN adduser tgproxy -u 10000 -D RUN adduser tgproxy -u 10000 -D
RUN apk add --no-cache python3 py3-cryptography ca-certificates libcap RUN apk add --no-cache python3 py3-cryptography ca-certificates libcap
RUN chown -R tgproxy:tgproxy /home/tgproxy RUN chown -R tgproxy:tgproxy /home/tgproxy
RUN setcap cap_net_bind_service=+ep /usr/bin/python3.7 RUN setcap cap_net_bind_service=+ep /usr/bin/python3.8
COPY mtprotoproxy.py config.py /home/tgproxy/ COPY mtprotoproxy.py config.py /home/tgproxy/