Fix Docker build: exclude .config file and simplify Dockerfile
All checks were successful
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m11s
All checks were successful
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 3m11s
This commit is contained in:
@@ -26,6 +26,9 @@ yarn-error.log*
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
|
# Infrastructure files (JuiceFS config, etc.)
|
||||||
|
.config
|
||||||
|
|
||||||
# Environment files
|
# Environment files
|
||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
|
|||||||
@@ -19,9 +19,6 @@ RUN bun install --frozen-lockfile
|
|||||||
# Copy the rest of the application
|
# Copy the rest of the application
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Create Prisma config directory to prevent config lookup error in Prisma 6
|
|
||||||
RUN mkdir -p /app/.config/prisma
|
|
||||||
|
|
||||||
# Set environment variables for build
|
# Set environment variables for build
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|||||||
Reference in New Issue
Block a user