From 3477402c0d781bc536e5201ed2a79d2fa2fc0180 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Fri, 29 Jun 2018 01:07:16 +0500 Subject: [PATCH] use cryptography module in docker file, do not copy pyaes --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3545fb8..3622790 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,9 @@ FROM alpine:3.6 RUN adduser tgproxy -u 10000 -D -RUN apk add --no-cache python3 py3-crypto ca-certificates libcap +RUN apk add --no-cache python3 py3-cryptography ca-certificates libcap COPY mtprotoproxy.py config.py /home/tgproxy/ -COPY pyaes/*.py /home/tgproxy/pyaes/ RUN chown -R tgproxy:tgproxy /home/tgproxy RUN setcap cap_net_bind_service=+ep /usr/bin/python3.6