Skip to content
This repository has been archived by the owner on Feb 21, 2025. It is now read-only.

Commit

Permalink
Run Prisma migrations on container startup
Browse files Browse the repository at this point in the history
  • Loading branch information
juliavdkris committed Jul 10, 2024
1 parent 3b32cd3 commit a7bf76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN echo "$(date)" > /app/static/version.txt
RUN pnpm prisma generate
RUN pnpm build

CMD ["node", "build"]
CMD ["sh", "-c", "pnpm prisma migrate deploy & node build"]

0 comments on commit a7bf76e

Please sign in to comment.