From 4158bae090bdc45070158f04f18861cb7ea19ffc Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 1 Jun 2022 18:12:16 +0700 Subject: [PATCH] fix pip env error --- tubearchivist/web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tubearchivist/web/Dockerfile b/tubearchivist/web/Dockerfile index 12774d3..8451da0 100644 --- a/tubearchivist/web/Dockerfile +++ b/tubearchivist/web/Dockerfile @@ -5,9 +5,9 @@ RUN apt-get clean && apt-get -y update && \ python3-dev libpq-dev build-essential \ vim htop bmon net-tools iputils-ping procps +ENV PATH=/root/.local/bin:$PATH COPY requirements.txt /requirements.txt -RUN pip install --upgrade pip setuptools && \ - pip install --no-cache-dir -r /requirements.txt --src /usr/local/src +RUN pip install --user -r requirements.txt RUN mkdir /data