2022-11-16 21:08:17 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# bootstrap things like db schemas before 'docker-compose up' can be fully run
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
|
2022-11-18 16:15:04 +00:00
|
|
|
docker buildx build -t mastodon_selfbuilt -f ./Dockerfile.mastodon .
|
2022-11-16 21:08:17 +00:00
|
|
|
docker-compose run --rm mastodon_web rails db:migrate
|
2022-11-18 16:15:04 +00:00
|
|
|
|