From c2414c3487cca826cbb76d6b6413360c12eb7adb Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Thu, 13 Feb 2020 15:08:01 +0500 Subject: [PATCH] simplify dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 162956c..5e4e71d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ FROM python:3.8-slim-buster -RUN apt-get update && apt-get install -y libcap2-bin \ - && 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 apt-get update && apt-get install -y libcap2-bin && rm -rf /var/lib/apt/lists/* +RUN setcap cap_net_bind_service=+ep /usr/local/bin/python3.8 RUN pip3 --no-cache-dir install cryptography uvloop