mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
simplify dockerfile
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
FROM python:3.8-slim-buster
|
FROM python:3.8-slim-buster
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y libcap2-bin \
|
RUN apt-get update && apt-get install -y libcap2-bin && rm -rf /var/lib/apt/lists/*
|
||||||
&& setcap cap_net_bind_service=+ep /usr/local/bin/python3.8 \
|
RUN setcap cap_net_bind_service=+ep /usr/local/bin/python3.8
|
||||||
&& apt-get purge -y libcap2-bin && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
RUN pip3 --no-cache-dir install cryptography uvloop
|
RUN pip3 --no-cache-dir install cryptography uvloop
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user