pubtester/mastodon_setup.sh

10 lines
226 B
Bash
Executable File

#!/bin/sh
#
# bootstrap things like db schemas before 'docker-compose up' can be fully run
set -eux
docker buildx build -t mastodon_selfbuilt -f ./Dockerfile.mastodon .
docker-compose run --rm mastodon_web rails db:migrate