Skip to content

Instantly share code, notes, and snippets.

@jdmichaud
Last active November 16, 2017 15:46
Show Gist options
  • Save jdmichaud/da66c6ea013ac8e7f06f4cc0517d579a to your computer and use it in GitHub Desktop.
Save jdmichaud/da66c6ea013ac8e7f06f4cc0517d579a to your computer and use it in GitHub Desktop.
Docker image for a simple DICOM Service Class Provider using pynetdicom3
FROM alpine:3.5
RUN apk add --no-cache bash vim python git
RUN cd / && git clone https://github.com/pydicom/pydicom.git
RUN cd / && git clone https://github.com/pydicom/pynetdicom3.git
ENV PYTHONPATH=/pydicom/:/pynetdicom3/
docker run --rm -it -p 2761:8000 dicom-server python /pynetdicom3/pynetdicom3/apps/storescp/storescp.py 8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment