From 61d7a7f427381a0bd410773732a95943ac3a7f9c Mon Sep 17 00:00:00 2001 From: hex2077 Date: Tue, 26 Aug 2025 21:51:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0web/.env=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=88=B0Docker=E9=95=9C=E5=83=8F=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 确保环境变量文件被正确包含在构建过程中,以便应用能够读取必要的配置 --- Dockerfile-Web | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile-Web b/Dockerfile-Web index 2431751..ee7982b 100644 --- a/Dockerfile-Web +++ b/Dockerfile-Web @@ -31,6 +31,7 @@ RUN npm install @libsql/linux-x64-musl # Set production environment ENV NODE_ENV production +COPY web/.env ./web/.env COPY web/sqlite.db ./web/sqlite.db # Copy standalone application and public assets from the builder stage COPY --from=builder /app/web/.next/standalone ./web/