Skip to content

Commit

Permalink
Make docker run a single line
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyll committed Sep 9, 2024
1 parent 9b46b29 commit 3f8e591
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ $ curl http://127.0.0.1:5555/v1/embeddings \
## Usage with Ollama API

``` sh
$ docker run \
-p 5555:5555 \
-e GEMINI_API_KEY=$GEMINI_API_KEY \
googlegemini/proxy-to-gemini -api=ollama
$ docker run -p 5555:5555 -e GEMINI_API_KEY=$GEMINI_API_KEY googlegemini/proxy-to-gemini -api=ollama
2024/07/20 19:35:21 Starting server on :5555
```
Once server starts, you can access Gemini models through the proxy server
Expand Down

0 comments on commit 3f8e591

Please sign in to comment.