From 0a4147905426a0b607ac553f1241d883aeee36d7 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Wed, 9 Oct 2019 01:56:48 +0500 Subject: [PATCH] add copy instruction to docker-compose --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3568757..49f5935 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ RUN apk add --no-cache python3 py3-cryptography ca-certificates libcap RUN chown -R tgproxy:tgproxy /home/tgproxy RUN setcap cap_net_bind_service=+ep /usr/bin/python3.7 +COPY mtprotoproxy.py config.py /home/tgproxy/ + USER tgproxy WORKDIR /home/tgproxy/