Skip to content

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

TypeScript

配置 Go 代理(国内镜像加速)

Connorf5ca6e9bddda
diff --git a/Dockerfile b/Dockerfile
index 9ad216c..3eca63a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,10 @@ RUN npm run build
# ==================== 阶段2: 构建后端 ====================
FROM golang:1.23-alpine AS backend-builder
+# 配置 Go 代理(国内镜像加速)
+ENV GOPROXY=https://goproxy.cn,direct \
+ GO111MODULE=on
+
# 安装必要的构建工具(包括 gcc、musl-dev 和 sqlite-dev 用于 CGO)
RUN apk add --no-cache \
git \