-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (30 loc) · 981 Bytes
/
Dockerfile
File metadata and controls
34 lines (30 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM hseeberger/scala-sbt
MAINTAINER caedman2011@gmail.com
RUN apt-get update
RUN apt-get install -y python3-pip
RUN pip3 install jep
RUN mkdir -p /lib
RUN pip3 show jep | grep Location
#RUN cp /usr/local/lib/python3.5/dist-packages/jep/{jep-3.7.1.jar,libjep.so} /lib
ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
RUN pip3 install numpy
RUN pip3 install pymc3
RUN pip3 install six
RUN pip3 install urllib3
RUN pip3 install pandas
RUN pip3 install requests
RUN pip3 install urllib3
RUN pip3 install six
RUN pip3 install lxml
RUN pip3 install JPype1==0.6.2
RUN pip3 install jep
RUN pip3 install baostock
RUN pip3 install bs4
RUN pip3 install tushare
RUN pip3 install numpy
ENV JAVA_OPTS "-Djava.library.path=/usr/local/lib/python3.5/dist-packages/jep"
#RUN sbt "runMain com.sushant.example.KerasScala"
#RUN libpython3.6-dev
CMD ["/usr/bin/java"]
WORKDIR /data
ENTRYPOINT ["/usr/bin/java", "-Djava.library.path=/usr/local/lib/python3.5/dist-packages/jep"]