fediverse-auth/docker-start.sh

7 lines
180 B
Bash

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