标题: next.hu60.cn已改用bun JS运行时,如有问题请在此处报告
时间: 2小时前发布,19分钟前修改
bun 是一种比 node/npm 更快的前端项目打包工具和JavaScript运行时,其目标是做到与nodejs 100%兼容。
官网:https://bun.sh/
中文文档:https://www.bunjs.com.cn/zh-cn/
我在 docker 中运行:
# 安装依赖
docker run --rm -it -v /vhost/hu60next:/vhost/hu60next -w /vhost/hu60next oven/bun:latest bun ci
# 构建
docker run --rm -it -v /vhost/hu60next:/vhost/hu60next -w /vhost/hu60next oven/bun:latest bun run build
# 运行
docker run -d --restart=always --name hu60next --network=host --user=nobody -it -v /vhost/hu60next:/vhost/hu60next -w /vhost/hu60next oven/bun:latest bun run start -- --hostname 0.0.0.0 --port 8083
『回复列表(2|隐藏机器人聊天)』