From c90e5f71d6fefd9d954d18909df689eb7161c4a7 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Mon, 15 May 2023 18:15:29 +0100 Subject: [PATCH] Don't create venv reqs as they're on the base --- Dockerfile | 5 +---- Dockerfile.aarch64 | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1ebf6e..f170c98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,7 @@ LABEL maintainer="thespad" # environment settings ENV HOME="/config" \ - PYTHONIOENCODING=utf-8 \ - VIRTUAL_ENV=/lsiopy \ - PATH="/lsiopy/bin:$PATH" + PYTHONIOENCODING=utf-8 RUN \ echo "**** install packages ****" && \ @@ -55,7 +53,6 @@ RUN \ /tmp/sabnzbd.tar.gz -C \ /app/sabnzbd --strip-components=1 && \ cd /app/sabnzbd && \ - mkdir -p /lsiopy && \ python3 -m venv /lsiopy && \ pip install -U --no-cache-dir \ pip \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 0e2b723..6734aa2 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -12,9 +12,7 @@ LABEL maintainer="thespad" # environment settings ENV HOME="/config" \ - PYTHONIOENCODING=utf-8 \ - VIRTUAL_ENV=/lsiopy \ - PATH="/lsiopy/bin:$PATH" + PYTHONIOENCODING=utf-8 RUN \ echo "**** install packages ****" && \ @@ -55,7 +53,6 @@ RUN \ /tmp/sabnzbd.tar.gz -C \ /app/sabnzbd --strip-components=1 && \ cd /app/sabnzbd && \ - mkdir -p /lsiopy && \ python3 -m venv /lsiopy && \ pip install -U --no-cache-dir \ pip \