mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
chore: run db migrations
This commit is contained in:
@@ -35,4 +35,4 @@ COPY --from=build /app/.sern ./.sern
|
|||||||
COPY --from=build /app/package.json ./package.json
|
COPY --from=build /app/package.json ./package.json
|
||||||
COPY --from=build /app/prisma ./prisma
|
COPY --from=build /app/prisma ./prisma
|
||||||
|
|
||||||
CMD ["bun", "dist/index.js"]
|
CMD ["sh", "-c", "bun run db:migrate && bun dist/index.js"]
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "sern build",
|
"build": "sern build",
|
||||||
"start": "bun run --inspect .",
|
"start": "bun run --inspect .",
|
||||||
|
"db:migrate": "prisma migrate deploy",
|
||||||
"install": "sern build",
|
"install": "sern build",
|
||||||
"commands:publish": "sern commands publish",
|
"commands:publish": "sern commands publish",
|
||||||
"dev": "sern build -w --watch-command \"bun start\"",
|
"dev": "sern build -w --watch-command \"bun start\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user