notbun 是一个预配置权限的 Bun 运行容器,基于 Bun 官方镜像构建。
50
notbun 是一个预配置权限的 Bun 运行容器,基于 Bun 官方镜像构建。
appuserAsia/Shanghai,语言 zh_CN.UTF-8/app/Bin、/app/Log、/app/Temp,权限 775/app 声明为 VOLUMEdocker run 时镜像名后面的参数会追加到启动命令之后docker pull nixue/notbun:latest
docker run -d \
--name myapp \
-p 8080:8080 \
-v /宿主机/应用目录:/app \
nixue/notbun:latest
容器自动执行:
bun run NotApp.ts
| 变量 | 默认值 | 说明 |
|---|---|---|
APP_TS | NotApp.ts | 要运行的 .ts 或 .js 文件 |
docker run -d \
-e APP_TS=server.ts \
-v /宿主机/应用目录:/app \
nixue/notbun:latest \
--port 8080
Content type
Image
Digest
sha256:8109724cf…
Size
89.2 MB
Last updated
25 days ago
docker pull nixue/notbun