1 Star 0 Fork 0

唤醒天空/open-webui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run.sh 471 Bytes
一键复制 编辑 原始数据 按行查看 历史
Timothy J. Baek 提交于 2024-02-20 03:43 +08:00 . Update run.sh
#!/bin/bash
image_name="open-webui"
container_name="open-webui"
host_port=3000
container_port=8080
docker build -t "$image_name" .
docker stop "$container_name" &>/dev/null || true
docker rm "$container_name" &>/dev/null || true
docker run -d -p "$host_port":"$container_port" \
--add-host=host.docker.internal:host-gateway \
-v "${image_name}:/app/backend/data" \
--name "$container_name" \
--restart always \
"$image_name"
docker image prune -f
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/style1987_admin_admin/open-webui.git
git@gitee.com:style1987_admin_admin/open-webui.git
style1987_admin_admin
open-webui
open-webui
dev

搜索帮助