-
Notifications
You must be signed in to change notification settings - Fork 6
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
Showing
5 changed files
with
64 additions
and
4 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
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
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
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,37 @@ | ||
FROM python:3.12 | ||
|
||
# set the workdir | ||
WORKDIR /root | ||
|
||
# minimal software stack | ||
RUN apt-get update; apt-get clean | ||
RUN apt-get install -y nano less htop git libhdf5-serial-dev; apt-get clean | ||
|
||
# python software stack | ||
RUN pip install --no-cache-dir --upgrade pip setuptools | ||
RUN pip install --no-cache-dir --upgrade ipython | ||
RUN pip install --no-cache-dir numpy | ||
RUN pip install --no-cache-dir scipy | ||
RUN pip install --no-cache-dir matplotlib | ||
RUN pip install --no-cache-dir pandas | ||
RUN pip install --no-cache-dir numexpr | ||
RUN pip install --no-cache-dir jupyterlab | ||
RUN pip install --no-cache-dir notebook | ||
RUN pip install --no-cache-dir scikit-learn | ||
RUN pip install --no-cache-dir scikit-optimize | ||
RUN pip install --no-cache-dir tensorflow | ||
RUN pip install --no-cache-dir xgboost | ||
RUN pip install --no-cache-dir scinum | ||
RUN pip install --no-cache-dir nvidia_smi | ||
RUN pip install --no-cache-dir py3nvml | ||
RUN pip install --no-cache-dir torch | ||
|
||
# install cmsml from master | ||
RUN git clone https://github.com/cms-ml/cmsml.git && \ | ||
cd cmsml && \ | ||
pip install --no-cache-dir .[dev] && \ | ||
cd .. && \ | ||
rm -rf cmsml | ||
|
||
# initial command | ||
CMD ["bash", "-i", "-l"] |
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