fix: 添加web/.env文件到Docker镜像中

确保环境变量文件被正确包含在构建过程中,以便应用能够读取必要的配置
This commit is contained in:
hex2077
2025-08-26 21:51:18 +08:00
parent 7b641fdeff
commit 61d7a7f427

View File

@@ -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/