mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00
19 lines
872 B
Docker
19 lines
872 B
Docker
# The examples Docker image adds dependencies needed to run the examples
|
|
|
|
FROM ray-project/deploy
|
|
|
|
# This updates numpy to 1.14 and mutes errors from other libraries
|
|
RUN conda install -y numpy
|
|
RUN apt-get install -y zlib1g-dev
|
|
# The following is needed to support TensorFlow 1.14
|
|
RUN conda remove -y --force wrapt
|
|
RUN pip install -U pip
|
|
RUN pip install gym[atari] opencv-python-headless tensorflow lz4 keras pytest-timeout smart_open tensorflow_probability
|
|
RUN pip install -U h5py # Mutes FutureWarnings
|
|
RUN pip install --upgrade bayesian-optimization
|
|
RUN pip install --upgrade hyperopt==0.1.2
|
|
RUN pip install ConfigSpace==0.4.10
|
|
RUN pip install --upgrade sigopt nevergrad scikit-optimize hpbandster lightgbm xgboost torch torchvision
|
|
RUN pip install -U tabulate mlflow
|
|
RUN pip install -U pytest-remotedata>=0.3.1
|
|
RUN conda install pytorch-cpu torchvision-cpu -c pytorch
|