From f8751b3e7c130e154f2e925584acac3c33c6d753 Mon Sep 17 00:00:00 2001 From: mvsnogueira-dnx Date: Thu, 6 Jun 2024 15:45:32 +1000 Subject: [PATCH] Updating readme --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e0044c1..d17b061 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,9 +22,14 @@ RUN apk --no-cache update && \ openssh \ postgresql-dev \ yarn && \ + python3 -m venv /opt/venv && \ + . /opt/venv/bin/activate && \ pip --no-cache-dir install awscli virtualenv && \ update-ca-certificates && \ rm -rf /var/cache/apk/* && \ yarn global add $SERVERLESS -WORKDIR /work \ No newline at end of file +WORKDIR /work + +# Ensure the virtual environment is activated in subsequent RUN instructions +ENV PATH="/opt/venv/bin:$PATH" \ No newline at end of file