Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

install python in docker file

FROM ubuntu:16.04

RUN apt-get update && apt-get install -y --no-install-recommends 
    python3.5 
    python3-pip 
    && 
    apt-get clean && 
    rm -rf /var/lib/apt/lists/*

RUN pip3 install nibabel pydicom matplotlib pillow
RUN pip3 install med2image
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #install #python #docker #file
ADD COMMENT
Topic
Name
4+5 =