fix: run prisma db build after build
This commit is contained in:
parent
176f7102eb
commit
9f909d1b09
2 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"prisma:generate": "prisma generate",
|
||||
"prisma:push": "prisma db push",
|
||||
"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
|
||||
"format": "prettier --config ./prettierrc --write --plugin-search-dir=. .",
|
||||
"test": "vitest"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ ENV CI=true
|
|||
RUN npm i -g pnpm
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN pnpm prisma:push
|
||||
RUN pnpm build
|
||||
RUN pnpm prune --prod
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue