Skip to content

Commit 8d5bc53

Browse files
committed
created the dockerise version of the TF2.4_IVIM-MRI_CodeCollection
1 parent b9c8474 commit 8d5bc53

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

.dockerignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Ignore editor and system files
2+
.vscode/
3+
.git/
4+
.gitignore
5+
*.md
6+
7+
# Exclude development and test artifacts
8+
__pycache__
9+
conftest
10+
11+
# Docs
12+
docs
13+
doc
14+
15+
# Others
16+

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM python:3.9-slim
2+
3+
WORKDIR /usr/src/app
4+
5+
RUN apt-get update && apt-get install -y --no-install-recommends \
6+
build-essential \
7+
libssl-dev \
8+
&& apt-get clean \
9+
&& rm -rf /var/lib/apt/lists/*
10+
11+
COPY requirements.txt ./
12+
13+
RUN pip install --no-cache-dir -r requirements.txt
14+
15+
COPY . .
16+
17+
ENTRYPOINT ["python3", "-m", "WrapImage.nifti_wrapper"]

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ numpy
22
scipy
33
torchio
44
torch
5-
logging
65
joblib
76
dipy
87
matplotlib
@@ -13,4 +12,4 @@ pytest
1312
tqdm
1413
pandas
1514
sphinx
16-
sphinx_rtd_theme
15+
sphinx_rtd_theme

0 commit comments

Comments
 (0)