diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..efc84eba --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM continuumio/miniconda3 + +RUN apt-get update && apt-get install -y wget git +RUN pip install git+git://github.com/pydicom/pydicom.git@affb1cf10c6be2aca311c29ddddc622f8bd1f810 +RUN mkdir /code +ADD . /code +WORKDIR /code +RUN python /code/setup.py install + +RUN chmod 0755 /opt/conda/bin/deid +ENTRYPOINT '/opt/conda/bin/deid' diff --git a/README.md b/README.md index 1874f445..d3b4e9a7 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ These are basic Python based tools for working with medical images and text, spe ## Installation + +### Local For the stable release, install via pip: ``` @@ -22,5 +24,12 @@ For the development version, install from Github: pip install git+git://github.com/pydicom/deid ``` +### Docker + +``` +docker build -t pydicom/deid . +docker run pydicom/deid --help +``` + ## Issues If you have an issue, or want to request a feature, please do so on our [issues board](https://www.github.com/pydicom/deid/issues) diff --git a/deid/version.py b/deid/version.py index 5181fd30..cd1ab06c 100644 --- a/deid/version.py +++ b/deid/version.py @@ -31,8 +31,6 @@ INSTALL_REQUIRES = ( - ('flask', {'min_version': '0.12'}), - ('flask-restful', {'min_version': None}), ('requests', {'min_version': '2.12.4'}), ('retrying', {'min_version': '1.3.3'}), ('simplejson', {'min_version': '3.10.0'}),