From c302a83fd9637eeee71fc0a2a511c64115c78db2 Mon Sep 17 00:00:00 2001 From: Ethan Graham Date: Tue, 10 Sep 2024 15:53:45 +0200 Subject: [PATCH] added venv to dockerfile --- deploy/infrastructure/utils/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy/infrastructure/utils/Dockerfile b/deploy/infrastructure/utils/Dockerfile index 2c5d6b545..d7a2afeb7 100644 --- a/deploy/infrastructure/utils/Dockerfile +++ b/deploy/infrastructure/utils/Dockerfile @@ -1,5 +1,8 @@ FROM python:3.10 -RUN pip3 install python-hcl2 - WORKDIR /app + +RUN python -m venv /opt/venv +ENV PATH="/opt/venv/bin:$PATH" + +RUN pip install python-hcl2