From e6b189ffc39bff8812e96238aecc3bd7ef11ac58 Mon Sep 17 00:00:00 2001 From: harkirat Date: Tue, 17 Sep 2024 06:33:31 +0530 Subject: [PATCH] Fixed dockerfile --- Dockerfile.prod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index 66429817..ed8e1fc3 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -6,7 +6,7 @@ WORKDIR /usr/src/app COPY . . RUN npm install -RUN DATABASE_URL=$DATABASE_URL npx prisma generate +RUN cd packages/db && DATABASE_URL=$DATABASE_URL npx prisma generate && cd ../.. RUN DATABASE_URL=$DATABASE_URL npm run build EXPOSE 3000