Skip to content

Commit 706bca4

Browse files
committed
added prisma db push to dockerfile
1 parent d9d8d3b commit 706bca4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ COPY prisma ./prisma/
1616
# Generate Prisma client
1717
RUN npx prisma generate
1818

19+
# Sync schema with db
20+
RUN npx prisma db push
21+
1922
# Copy TypeScript configuration and source code
2023
COPY tsconfig.json ./
2124
COPY src ./src/

0 commit comments

Comments
 (0)