ray/docker/kuberay-autoscaler/Dockerfile
Dmitri Gekhtman a402e956a4
[KubeRay] Format autoscaling config based on RayCluster CR (#22348)
Closes #21655. At the start of each autoscaler iteration, we read the Ray Cluster CR from K8s and use it to extract the autoscaling config.
2022-02-22 11:06:37 -08:00

9 lines
365 B
Docker

FROM rayproject/ray:nightly
ARG WHEEL_PATH
RUN $HOME/anaconda3/bin/pip uninstall -y ray
COPY $WHEEL_PATH .
RUN $HOME/anaconda3/bin/pip --no-cache-dir install "$WHEEL_PATH"[all]
COPY autoscaling_config.py /home/ray/autoscaling_config.py
COPY run_autoscaler.py /home/ray/run_autoscaler.py
COPY run_autoscaler_with_retries.py /home/ray/run_autoscaler_with_retries.py