-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (21 loc) · 854 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
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM continuumio/anaconda3:latest
WORKDIR /app
COPY quant_environment.yml .
RUN conda update -n base -c defaults conda && \
conda env create -n quant-stack --file quant_environment.yml && \
conda clean -afy
SHELL ["conda", "run", "-n", "quant-stack", "/bin/bash", "-c"]
RUN pip install openbb
RUN conda install -c conda-forge notebook zipline-reloaded pyfolio-reloaded alphalens-reloaded quantstats
RUN pip install -U vectorbt
RUN pip install ibapi
RUN pip install Riskfolio-Lib==3.3.0
RUN conda install -c conda-forge ta-lib
RUN pip install --force-reinstall charset-normalizer==3.1.0
RUN pip install --upgrade requests
RUN pip uninstall -y jupyter_core && pip install jupyter ipykernel
RUN pip install jupyter_copilot
COPY start-jupyter.sh /start-jupyter.sh
RUN chmod +x /start-jupyter.sh
EXPOSE 8888
CMD ["/start-jupyter.sh"]