From faaf4f67265b4c7e679fd317f28a2e9adfae7c53 Mon Sep 17 00:00:00 2001 From: Alejandro Villar Date: Mon, 31 Jul 2023 12:25:51 +0200 Subject: [PATCH] Rearrange Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1e1b6e7..1521c71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,10 @@ RUN apk update && \ apk add git rsync && \ python -m venv /venv && \ /venv/bin/python -m pip install --upgrade pip && \ - /venv/bin/python -m pip install -r /requirements.txt && \ git config --global --add safe.directory '*' +RUN /venv/bin/python -m pip install -r /requirements.txt + ENV PYTHONPATH /src/ ENV PYTHONUNBUFFERED 1