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 && \