Add Tini and set version range for numpy in Dockerfile

This commit is contained in:
Federico M. Zagarzazu
2016-09-25 00:27:55 -05:00
parent db0eabe82a
commit 3f078d4ef6
+7 -1
View File
@@ -26,6 +26,11 @@ FROM python:2.7
#
# set up environment
#
ENV TINI_VERSION v0.10.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
ENV PROJECT_DIR=/projects \
NOTEBOOK_PORT=8888 \
SSL_CERT_PEM=/root/.jupyter/jupyter.pem \
@@ -49,13 +54,14 @@ RUN mkdir ${PROJECT_DIR} \
WORKDIR /ta-lib
RUN pip install numpy==1.9.2 \
RUN pip install 'numpy>=1.11.1,<2.0.0' \
&& pip install scipy==0.15.1 \
&& pip install pandas==0.16.1 \
&& ./configure --prefix=/usr \
&& make \
&& make install \
&& pip install TA-Lib \
&& pip install matplotlib \
&& pip install jupyter
#