From 752785d6903e548b062378eab7e60d1c68bdc70c Mon Sep 17 00:00:00 2001 From: Viviane Potocnik Date: Thu, 8 Aug 2024 17:08:46 +0200 Subject: [PATCH] [DOCKER] Copy repo to temp for pip installations --- util/container/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/util/container/Dockerfile b/util/container/Dockerfile index 6ecf877a3..d9b52238e 100644 --- a/util/container/Dockerfile +++ b/util/container/Dockerfile @@ -155,11 +155,9 @@ ENV VIRTUAL_ENV "/root/.venvs/snitch_cluster" RUN /opt/python/bin/python3 -m venv ${VIRTUAL_ENV} ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" # Install Python requirements -COPY python-requirements.txt /tmp/python-requirements.txt -COPY docs/requirements.txt /tmp/docs/requirements.txt -COPY sw/dnn/requirements.txt /tmp/sw/dnn/requirements.txt -RUN pip install -r /tmp/python-requirements.txt -RUN pip install -e . +COPY . /tmp/snitch_cluster +RUN pip install -r /tmp/snitch_cluster/python-requirements.txt +RUN pip install /tmp/snitch_cluster/ # Add Verilator to PATH ENV PATH "/tools/verilator/bin:${PATH}"