[a22922]: / Dockerfile

Download this file

18 lines (12 with data), 421 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
FROM pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime
WORKDIR /workspace
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN apt-get install build-essential git python3-opencv -y
# Debug
# COPY . /workspace
# RUN pip install .
# Release
RUN git clone https://github.com/MICLab-Unicamp/medseg
RUN pip install medseg/.
RUN mv /workspace/medseg/predict.sh /workspace/predict.sh