1 Star 0 Fork 0

Single_zh/AgentGPT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
entrypoint.sh 517 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env sh
cd /next
dos2unix wait-for-db.sh
# copy .env file if not exists
[ ! -f .env ] && [ -f .env.example ] && cp .env.example .env
cp .env .env.temp
dos2unix .env.temp
cat .env.temp > .env
rm .env.temp
source .env
# Ensure DB is available before running Prisma commands
./wait-for-db.sh db 3307
# Run Prisma commands
if [[ ! -f "/app/prisma/${DATABASE_URL:5}" ]]; then
npx prisma migrate deploy --name init
npx prisma db push
fi
# Generate Prisma client
npx prisma generate
# run cmd
exec "$@"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/single_zh/AgentGPT.git
git@gitee.com:single_zh/AgentGPT.git
single_zh
AgentGPT
AgentGPT
1002-update-the-hero-section-title-and-add-gradient

搜索帮助