From 1ed6332f0ccc036e9bdd15e4eb9808d79bca0e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=B6nke?= Date: Thu, 25 Jul 2024 00:25:43 +0200 Subject: [PATCH] use python venv --- convert/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/convert/Dockerfile b/convert/Dockerfile index 0d1a56b..066a438 100644 --- a/convert/Dockerfile +++ b/convert/Dockerfile @@ -2,7 +2,10 @@ FROM ubuntu ARG DEBIAN_FRONTEND="noninteractive" RUN apt-get update -RUN apt-get install -y python3 python3-pip python3-tz pandoc +RUN apt-get install -y python3 python3-pip python3-tz python3-venv pandoc + +RUN python3 -m venv /opt/venv +ENV PATH="/opt/venv/bin:$PATH" RUN python3 -m pip install pypandoc python-gitlab python-slugify