Bleak commited on
Commit
057b1f4
·
verified ·
1 Parent(s): 3a60b18

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #Ollama-API By BleakPrestiger
2
+ # Builder stage
3
+ FROM ubuntu:latest
4
+ # FROM llama.cpp:full
5
+
6
+ # Update packages and install curl and gnupg
7
+ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
8
+ curl \
9
+ wget \
10
+ unzip \
11
+ gnupg \
12
+ cmake \
13
+ make \
14
+ git \
15
+ build-essential \
16
+ python3 \
17
+ python3-pip
18
+ RUN pip install -U "ray[default]" --break-system-packages
19
+ RUN ls
20
+ EXPOSE 7860
21
+ CMD ["ray","start","--address='10.106.48.146:7860'"]