From 3a163ad6fd26bb5d204715124b3d475fb5b1720f Mon Sep 17 00:00:00 2001 From: motatoes Date: Wed, 20 Nov 2024 15:26:58 +0000 Subject: [PATCH] reorder --- Dockerfile | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d4864ea3..c3a322b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,8 +36,8 @@ COPY package*.json ./ COPY prisma ./prisma # Install dependencies -RUN pnpm run prisma:generate RUN pnpm install +RUN pnpm run prisma:generate # Copy the rest of the application code COPY . . diff --git a/package.json b/package.json index d08596f5..1b582401 100644 --- a/package.json +++ b/package.json @@ -192,7 +192,6 @@ "start": "next start", "generate:types": "supabase gen types --lang=typescript --linked --schema public > src/lib/database.types.ts", "generate:types:local": "supabase gen types --lang=typescript --local > src/lib/database.types.ts", - "preinstall": "prisma generate --schema prisma/schema.prisma", "prisma:generate": "prisma generate", "prisma:generate-sql": "prisma generate --sql", "build": "next build",