-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TODO: update pip install nii2dcm with PyPI version
- Loading branch information
1 parent
66edf6b
commit b0b47ae
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Use the official Python image as the base image | ||
FROM python:3.9-slim | ||
|
||
# Install system dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
bash \ | ||
&& apt-get clean | ||
|
||
RUN pip install --upgrade pip && \ | ||
pip install setuptools wheel | ||
|
||
RUN pip install --index-url https://test.pypi.org/simple/ \ | ||
--extra-index-url https://pypi.org/simple/ nii2dcm==0.1.2-post.11 | ||
|
||
#RUN pip install nii2dcm | ||
|
||
# Test nii2dcm install | ||
# To see output locally during build process: docker build -t nii2dcm --progress=plain . | ||
RUN nii2dcm -h | ||
|
||
ENTRYPOINT ["nii2dcm"] |