-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5190332
commit 8e1a5f5
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
__pycache__ | ||
*.pyc | ||
*.pyo | ||
*.pyd | ||
.Python | ||
.env | ||
.git | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM continuumio/miniconda3:latest | ||
|
||
WORKDIR /qlib | ||
|
||
COPY . . | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y build-essential | ||
|
||
RUN conda create --name qlib_source python=3.8 | ||
RUN echo "conda activate qlib_source" >> ~/.bashrc | ||
ENV PATH /opt/conda/envs/qlib_source/bin:$PATH | ||
|
||
RUN python -m pip install --upgrade pip | ||
|
||
RUN python -m pip install numpy==1.23.5 | ||
RUN python -m pip install pandas==1.5.3 | ||
RUN python -m pip install importlib-metadata==5.2.0 | ||
RUN python -m pip install "cloudpickle<3" | ||
RUN python -m pip install scikit-learn==1.3.2 | ||
|
||
RUN pip install cython packaging tables matplotlib statsmodels | ||
|
||
RUN python setup.py install | ||
|
||
EXPOSE 10050 |