forked from alpha-miner/alpha-mind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (19 loc) · 682 Bytes
/
Dockerfile
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
FROM continuumio/anaconda3:2021.05
LABEL maintainer = "[email protected]"
RUN apt-get update && apt-get install build-essential default-libmysqlclient-dev coinor-cbc coinor-libcbc-dev -y
ENV COIN_INSTALL_DIR /usr
WORKDIR /
COPY ./requirements_docker.txt /requirements.txt
RUN pip install -r /requirements.txt -i https://pypi.douban.com/simple
RUN pip install finance-python>=0.8.1 -i https://pypi.douban.com/simple
WORKDIR /
COPY ./alphamind /alphamind
COPY ./notebooks /notebooks
COPY ./setup.py /setup.py
COPY ./setup.cfg /setup.cfg
EXPOSE 8080
COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
WORKDIR /notebooks
ENTRYPOINT ["/entrypoint.sh"]
CMD []