From 603c372a0724df961c74cc469099db37577417db Mon Sep 17 00:00:00 2001 From: harkirat Date: Tue, 17 Sep 2024 06:54:55 +0530 Subject: [PATCH] Fixed build --- Dockerfile.prod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile.prod b/Dockerfile.prod index bece42b4..5c1e63de 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -10,6 +10,8 @@ RUN cd packages/db && DATABASE_URL=$DATABASE_URL npx prisma generate && cd ../.. ## put DATABASE_URL in apps/web/.env RUN echo DATABASE_URL=$DATABASE_URL >> apps/web/.env RUN DATABASE_URL=$DATABASE_URL npm run build +## Remove .env file +RUN rm apps/web/.env EXPOSE 3000