From 80ad284f51bad82ae5cf1e56e637ccbe38e64c77 Mon Sep 17 00:00:00 2001 From: Appu <77108939+appujet@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:14:35 +0530 Subject: [PATCH] Update Dockerfile Signed-off-by: Appu <77108939+appujet@users.noreply.github.com> --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 55727923d..67a223ae8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ COPY tsconfig.json ./ # Copy prisma COPY prisma ./prisma # Generate Prisma client -RUN npx prisma generate +RUN npx prisma db push # Build TypeScript RUN npm run build @@ -45,7 +45,7 @@ COPY --from=builder /opt/lavamusic/locales ./locales RUN npm install --omit=dev RUN npx prisma generate -RUN npx prisma migrate dev --name init +RUN npx prisma db push # Ensure application.yml is a file, not a directory RUN rm -rf /opt/lavamusic/application.yml && \