-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (22 loc) · 1018 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Use an official Python runtime as a parent image
FROM python:3.11
# Set the working directory in the container
WORKDIR /code
# Clone the github repository
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/krekiehn/ML4MedWS2023.git
WORKDIR /code/ML4MedWS2023
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
RUN mkdir "/code/ML4MedWS2023/Data"
RUN mkdir "/code/ML4MedWS2023/Data/ConvertedPelvisNiftiDataset"
WORKDIR /code/ML4MedWS2023/Data/ConvertedPelvisNiftiDataset
# Download a file from a URL and unzip it
RUN apt-get install -y curl unzip
#RUN apt-get install -y curl unzip && \
# curl -LJO https://cloud.rz.uni-kiel.de/index.php/s/WRM33znRQjLcMZo/download && \
# unzip "Converted%20Pelvis%20Nifti%20Dataset.zip" -d "Converted Pelvis Nifti Dataset" && \
# rm "Converted%20Pelvis%20Nifti%20Dataset.zip" \
# Run script.py when the container launches
#CMD ["python", "./Code/GetData/GetData.py"]
CMD ["python"]