From 5bde02502df5e9f35d6928d3fadcdb23437963cd Mon Sep 17 00:00:00 2001 From: ayrisdev Date: Sun, 12 Apr 2026 13:25:29 +0300 Subject: [PATCH] chore: optimize next.config.ts for standalone Docker output --- Dockerfile | 3 --- next.config.ts | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b7098b..288e979 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,9 +21,6 @@ COPY . . # Coolify will provide these, but we can set defaults ENV NEXT_TELEMETRY_DISABLED=1 -# Generate Prisma Client -RUN npx prisma generate - RUN npm run build # 4. Runner diff --git a/next.config.ts b/next.config.ts index ff2301d..5d66eb7 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,6 +1,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { + output: 'standalone', images: { remotePatterns: [ {