修复docker-compose-custom.yml构建配置
- 添加build配置段,指定Dockerfile构建镜像 - 修复镜像构建问题,现在可以正确编译最新代码 - 保持所有环境变量和网络配置不变 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,9 @@ version: '3.4'
|
||||
|
||||
services:
|
||||
new-api-custom:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: new-api-custom:latest
|
||||
container_name: new-api-custom
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user