Spaces:
Paused
Paused
File size: 553 Bytes
19ead60 297ddec d69538d aafe11d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#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",] |