Skip to content

Commit 5a7bd2f

Browse files
committed
now use ghcr.io
1 parent f7244d8 commit 5a7bd2f

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,25 @@ Copy and paste the content of `cf-worker.js` into your cloudflare worker and dep
3636

3737
## Docker
3838

39-
build the image
40-
~~~sh
41-
docker build -t sambanova .
42-
~~~
39+
The docker image for this project is hosted on GitHub Container Registry and automatically build via GitHub action.
4340

4441
docker run
4542
~~~sh
46-
docker run \
43+
docker run -d\
4744
--name sambanova-ai-proxy \
4845
-p 11435:11435 \
4946
--read-only \
50-
sambanova
47+
ghcr.io/lingo34/sambanova-ai-proxy:main
5148
~~~
5249

53-
if you want to enable model override and specified a model, you can pass it as an environment variable
50+
if you want to enable model override and specified a model, you can pass it as an environment variable.
5451
~~~sh
55-
docker run \
52+
docker run -d\
5653
--name sambanova-ai-proxy \
5754
-p 11435:11435 \
5855
--read-only \
5956
-e MODEL_OVERRIDE="llama3-405b" \
60-
sambanova
57+
ghcr.io/lingo34/sambanova-ai-proxy:main
6158
~~~
6259

6360
or you can you docker compose: in the project directory, execute:
@@ -71,7 +68,7 @@ version: '3.8'
7168

7269
services:
7370
node-server:
74-
image: sambanova
71+
image: ghcr.io/lingo34/sambanova-ai-proxy:main
7572
container_name: sambanova-ai-proxy
7673
ports:
7774
- "11435:11435"
@@ -80,3 +77,9 @@ services:
8077
read_only: true
8178
restart: unless-stopped
8279
~~~
80+
81+
or if you want to build the image yourself
82+
83+
~~~sh
84+
docker build -t sambanova-ai-proxy .
85+
~~~

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.8'
22

33
services:
44
node-server:
5-
image: sambanova
5+
image: ghcr.io/lingo34/sambanova-ai-proxy:main
66
container_name: sambanova-ai-proxy
77
ports:
88
- "11435:11435"

0 commit comments

Comments
 (0)