mirror of
https://github.com/tubearchivist/tubearchivist-server.git
synced 2024-11-25 13:10:14 +00:00
fix pip env error
This commit is contained in:
parent
15b88a2c21
commit
4158bae090
@ -5,9 +5,9 @@ RUN apt-get clean && apt-get -y update && \
|
|||||||
python3-dev libpq-dev build-essential \
|
python3-dev libpq-dev build-essential \
|
||||||
vim htop bmon net-tools iputils-ping procps
|
vim htop bmon net-tools iputils-ping procps
|
||||||
|
|
||||||
|
ENV PATH=/root/.local/bin:$PATH
|
||||||
COPY requirements.txt /requirements.txt
|
COPY requirements.txt /requirements.txt
|
||||||
RUN pip install --upgrade pip setuptools && \
|
RUN pip install --user -r requirements.txt
|
||||||
pip install --no-cache-dir -r /requirements.txt --src /usr/local/src
|
|
||||||
|
|
||||||
RUN mkdir /data
|
RUN mkdir /data
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user