Skip to content

Commit

Permalink
WIP: create Dockerfile
Browse files Browse the repository at this point in the history
TODO: update pip install nii2dcm with PyPI version
  • Loading branch information
tomaroberts committed Feb 20, 2024
1 parent 66edf6b commit b0b47ae
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile
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"]

0 comments on commit b0b47ae

Please sign in to comment.