yomorun / yomo

🦖 Stateful Serverless Framework for Geo-distributed Edge AI Infra. with function calling support, write once, run on any model.
https://yomo.run
Apache License 2.0
1.65k stars 128 forks source link

chore: developers can docker run ai bridge #855

Closed woorui closed 3 weeks ago

woorui commented 1 month ago

Description

Add a Docker image publishing Action and the Dockerfile, This allows users to use the yomo command in a Docker environment.

After the release, users can set up a zipper in a single Docker command.

docker run -p 9000:9000/udp -p 8000:8000 -e OPENAI_API_KEY=sk-xxxxxx --rm ghcr.io/yomorun/ai-bridge:latest

If User wants to use their own config.yaml, run blow command.

docker run -p 9000:9000/udp -p 8000:8000 -v ~/path/to/config.yaml:/zipper/config.yaml ghcr.io/yomorun/ai-bridge:latest
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **yomo** | ⬜️ Ignored ([Inspect](https://vercel.com/yomorun/yomo/4MQoosGxrmP6GhV4JSaLfKX5mq9K)) | [Visit Preview](https://yomo-git-chore-docker-yomorun.vercel.app) | | Aug 9, 2024 7:38am |
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.79%. Comparing base (8e08836) to head (ee5c7b0). Report is 14 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #855 +/- ## ========================================== - Coverage 78.78% 77.79% -0.99% ========================================== Files 47 47 Lines 2720 2779 +59 ========================================== + Hits 2143 2162 +19 - Misses 424 462 +38 - Partials 153 155 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

wujunzhuo commented 1 month ago

should we put config.yaml to the container?

fanweixiao commented 1 month ago

should improve docs for this