Skip to content

Commit

Permalink
Merge pull request #1 from anthroarts/add-migration-to-entrypoint
Browse files Browse the repository at this point in the history
Run migrations in docker entrypoint
  • Loading branch information
chipuni authored Dec 15, 2024
2 parents e46d5d1 + 41a3e93 commit 0d696ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ if [[ -n "${RUN_USER}" ]]; then
echo "Running as $user:$group"
fi

bin/migrate

nginx -g 'daemon off;'&
exec "$@"

0 comments on commit 0d696ef

Please sign in to comment.