From 7039e442d980fbeebcb0b1d291a00ecebf800689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 2 Jan 2023 18:37:45 +0100 Subject: [PATCH] Improve Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6a4e798..ed13576 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ FROM python:3.10-slim-bullseye -RUN apt update && apt install --no-install-recommends --yes git +RUN apt update \ + && apt install --no-install-recommends --yes \ + git \ + && rm -rf /var/lib/apt/lists/* ENV VIRTUAL_ENV=/opt/venv RUN python3 -m venv pip $VIRTUAL_ENV ENV PATH="$VIRTUAL_ENV/bin:$PATH"