Use pip prefix option

This commit is contained in:
Mathieu Rohon 2020-08-25 11:35:06 +02:00
parent c4d86703c5
commit 6bb453851e

View file

@ -22,7 +22,7 @@ RUN apt-get -qq update \
COPY requirements.txt .
RUN pip install --install-option="--prefix=/install" -r requirements.txt
RUN pip install --prefix='/install' -r requirements.txt
FROM base
COPY --from=builder /install /usr/local