From bee6d06a1de0530d5c217886bc573d7c0df719f5 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Wed, 12 Jun 2024 00:36:43 +0100 Subject: [PATCH] Don't install anything explicitly wanting python --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e92c821..1aeb729 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,8 +65,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ git \ whois \ curl \ - python3-pip \ - python3-virtualenv \ libmagic-dev # Install image dependencies @@ -74,7 +72,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ ffmpeg \ imagemagick -RUN virtualenv /app/venv +RUN python3 -m venv /app/venv RUN /app/venv/bin/pip install --upgrade --no-input pip wheel setuptools COPY requirements.txt /tmp/requirements.txt