From a2c8de9acfb6ecd1c489462938d416f64ee6f264 Mon Sep 17 00:00:00 2001 From: Aidan Date: Wed, 23 Apr 2025 00:21:31 -0400 Subject: [PATCH] hotfix: more build fixes --- Dockerfile | 3 ++- docker-compose.yml | 2 -- next.config.ts | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7cb54a2..b8e2e98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ COPY . . RUN bunx prisma generate RUN bunx prisma migrate deploy +ENV NODE_ENV=production RUN bun run build EXPOSE 3000 -CMD ["bun", "start"] +CMD ["bun", "start"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 2eaecb5..492859d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,4 @@ services: env_file: ".env.local" volumes: - ./prisma:/app/prisma - environment: - - NODE_ENV=production restart: unless-stopped \ No newline at end of file diff --git a/next.config.ts b/next.config.ts index f572cf1..3c845d6 100644 --- a/next.config.ts +++ b/next.config.ts @@ -3,6 +3,7 @@ import type { NextConfig } from "next" /** @type {NextConfig} */ const nextConfig: NextConfig = { reactStrictMode: true, + output: 'standalone', images: { remotePatterns: [ {