From 3799a611767d1f74aaeb47c211bcc6efcaef07e5 Mon Sep 17 00:00:00 2001 From: Giacomo Furlan Date: Thu, 1 Aug 2024 17:24:47 +0300 Subject: [PATCH] Update Dockerfile --- dockerize/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dockerize/Dockerfile b/dockerize/Dockerfile index af5948326..9d30a4001 100644 --- a/dockerize/Dockerfile +++ b/dockerize/Dockerfile @@ -73,12 +73,7 @@ ADD setup.py setup.py ADD b2share/version.py b2share/version.py ADD requirements.txt requirements.txt -RUN pip3 wheel . --wheel-dir=./wheels -r requirements.txt && \ - pip3 install -e . - -WORKDIR /eudat/b2share/demo -ADD demo/setup.py setup.py -RUN pip3 install -e . +RUN pip3 wheel . --wheel-dir=./wheels -r requirements.txt COPY dockerize/b2share.sh /eudat/ COPY dockerize/supervisord.conf /etc/ @@ -117,6 +112,12 @@ RUN pip install --find-links=./wheels -r requirements.txt && \ pip install -e . && \ pip cache purge +RUN pip3 install -e . + +WORKDIR /eudat/b2share/demo +ADD demo/setup.py setup.py +RUN pip3 install -e . + WORKDIR /eudat/b2share/webui COPY --from=web /eudat/b2share/webui/app /eudat/b2share/webui/app