From ee0268d9f636dc2c6f75d195336f7e38d41d7bb5 Mon Sep 17 00:00:00 2001 From: zhipu Date: Wed, 25 Mar 2026 18:00:09 +0000 Subject: [PATCH] Fix Docker build: exclude .config file and simplify Dockerfile --- .dockerignore | 3 +++ Dockerfile | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index 957971b..fe3b6db 100644 --- a/.dockerignore +++ b/.dockerignore @@ -26,6 +26,9 @@ yarn-error.log* .DS_Store Thumbs.db +# Infrastructure files (JuiceFS config, etc.) +.config + # Environment files .env .env.local diff --git a/Dockerfile b/Dockerfile index 427bde9..bafac75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,6 @@ RUN bun install --frozen-lockfile # Copy the rest of the application COPY . . -# Create Prisma config directory to prevent config lookup error in Prisma 6 -RUN mkdir -p /app/.config/prisma - # Set environment variables for build ENV NEXT_TELEMETRY_DISABLED=1 ENV NODE_ENV=production