From 04c59d113619593e1c72c3c6fb16a4637cdae270 Mon Sep 17 00:00:00 2001 From: huangzhenpc Date: Mon, 25 Aug 2025 15:17:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddocker-compose-custom.yml?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加build配置段,指定Dockerfile构建镜像 - 修复镜像构建问题,现在可以正确编译最新代码 - 保持所有环境变量和网络配置不变 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docker-compose-custom.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose-custom.yml b/docker-compose-custom.yml index 1ab3d859..040612ce 100644 --- a/docker-compose-custom.yml +++ b/docker-compose-custom.yml @@ -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