Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gek20 committed Aug 1, 2024
1 parent b8cb379 commit 3799a61
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions dockerize/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3799a61

Please sign in to comment.