From d39f65fb6ff97d56747dada343c5ba3adfd0a4e9 Mon Sep 17 00:00:00 2001 From: Aditya Jyoti Date: Thu, 26 Dec 2024 21:05:39 +0530 Subject: [PATCH] fix: Edit Dockerfile init.sh runner --- Dockerfile | 2 -- init.sh | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 209d4a9..049d6ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,8 +25,6 @@ COPY . . COPY init.sh . RUN chmod +x init.sh -# Build the app (using TypeScript compiler) - # Expose necessary ports EXPOSE 3000 diff --git a/init.sh b/init.sh index bdf5368..d036f5e 100644 --- a/init.sh +++ b/init.sh @@ -1,5 +1,5 @@ #!/bin/bash pnpm dlx prisma migrate deploy pnpm dlx prisma generate -pnpm dlx build -pnpm dlx run start \ No newline at end of file +pnpm run build +pnpm run start \ No newline at end of file