FROM ubuntu:16.04 MAINTAINER Suren A. Chilingaryan # Install Devel & Python RUN apt-get update -qq \ && apt-get install --no-install-recommends -y \ gcc git pkg-config netcat \ telnet iputils-ping dnsutils \ python python-dev python-pip python-setuptools python-virtualenv python-wheel python-numpy python-scipy python-h5py python-yaml python-pydot python-matplotlib libopenblas-base \ mysql-client libmysqlclient-dev # upgrade pip RUN pip --no-cache-dir install --upgrade pip # install dependencies from python packages RUN pip --no-cache-dir install \ setuptools==39.1.0 numpy==1.14.5 tifffile==0.14.0 SimpleParse==2.1.1 redis==2.10.6 rq==0.12 \ scipy weave scikit-image opencv-python h5py pydicom Pillow django MySQL COPY *-entrypoint.sh / COPY run*.sh / ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["/run.sh"]