canvas/docker-start.sh

7 lines
200 B
Bash
Raw Normal View History

#!/bin/sh
# This script runs when the docker image starts
# It just forces all migrations to run and then starts lol
npx -w packages/server npx prisma migrate deploy
npm -w packages/server run start