Created
December 29, 2017 20:28
-
-
Save caioaao/8f091b5a9050216577e80900916bdefe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tensorflow/tensorflow:1.4.0 | |
ENV HOME /root | |
RUN echo 'export LC_ALL=C.UTF-8' >> /etc/profile | |
RUN echo 'export LANG=C.UTF-8' >> /etc/profile | |
RUN pip install enigma-catalyst | |
RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension | |
# Installing ta-lib | |
WORKDIR /tmp | |
RUN apt-get -y update \ | |
&& apt-get -y install libfreetype6-dev libpng-dev libopenblas-dev liblapack-dev gfortran \ | |
&& curl -L https://downloads.sourceforge.net/project/ta-lib/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz | tar xvz | |
WORKDIR /tmp/ta-lib | |
RUN ./configure --prefix=/usr \ | |
&& make \ | |
&& make install \ | |
&& pip install TA-Lib | |
# Other useful stuff | |
RUN pip install tqdm==4.19.5 | |
VOLUME /root/.catalyst | |
RUN mkdir /project | |
WORKDIR /project | |
RUN rm -rf /tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment