RayCluster001 / Dockerfile
Bleak's picture
Update Dockerfile
d69538d verified
raw
history blame contribute delete
553 Bytes
#Ollama-API By BleakPrestiger
# Builder stage
FROM ubuntu:latest
# FROM llama.cpp:full
# Update packages and install curl and gnupg
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
curl \
wget \
unzip \
gnupg \
cmake \
make \
git \
build-essential \
python3 \
python3-pip
RUN pip install -U "ray[default]" --break-system-packages
RUN ls
EXPOSE 7860
EXPOSE 5432
CMD ["ray","start","--head","--port=7860","--dashboard-host=0.0.0.0","--dashboard-port=5432"]
#CMD ["ray","start","--dashboard-host",]