Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

created the dockerise version of the TF2.4_IVIM-MRI_CodeCollection #66

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .dockerignore
Unique-Usman marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Ignore editor and system files
.vscode/
.git/
.gitignore
*.md

# Exclude development and test artifacts
__pycache__
conftest

# Docs
docs
doc

# Others

17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM python:3.9-slim
Unique-Usman marked this conversation as resolved.
Show resolved Hide resolved

WORKDIR /usr/src/app

RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
libssl-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt ./

RUN pip install --no-cache-dir -r requirements.txt

COPY . .

ENTRYPOINT ["python3", "-m", "WrapImage.nifti_wrapper"]
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ numpy
scipy
torchio
torch
logging
Unique-Usman marked this conversation as resolved.
Show resolved Hide resolved
joblib
dipy
matplotlib
Expand All @@ -13,4 +12,4 @@ pytest
tqdm
pandas
sphinx
sphinx_rtd_theme
sphinx_rtd_theme
Loading