fix: 添加web/.env文件到Docker镜像中
确保环境变量文件被正确包含在构建过程中,以便应用能够读取必要的配置
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user