From 7a301eb484b6f19e332751fa3b4f2b4167f81cb9 Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 19 Dec 2024 11:56:39 +0300 Subject: [PATCH] update Dockerfile --- backend/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 9f42b31..7547210 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -4,9 +4,7 @@ WORKDIR /app COPY . . -RUN python -m venv /.venv - -RUN /.venv/bin/pip install --no-cache-dir -r requirements.txt +RUN python -m venv /.venv && /.venv/bin/pip install --no-cache-dir -r requirements.txt ENV PATH="/.venv/bin:$PATH" ENV ENV="dev"