Skip to content

Commit

Permalink
Fix docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Sachidanand Alle <[email protected]>
  • Loading branch information
SachidanandAlle committed Nov 7, 2024
1 parent 1a05136 commit 5d1a07a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ FROM ${FINAL_IMAGE}
LABEL maintainer="[email protected]"
WORKDIR /opt/monailabel
RUN apt update -y && apt install -y git curl openslide-tools python3 python-is-python3 python3-pip
RUN python -m pip install pytest torch torchvision torchaudio
RUN python -m pip install --no-cache-dir pytest torch torchvision torchaudio
COPY --from=build /opt/monailabel/dist/monailabel* /opt/monailabel/dist/
RUN python -m pip install -v /opt/monailabel/dist/monailabel*.whl
RUN rm -rf /root/.cache/pip
RUN python -m pip install --no-cache-dir /opt/monailabel/dist/monailabel*.whl

0 comments on commit 5d1a07a

Please sign in to comment.