unclesp1d3r/CipherSwarm

View on GitHub
bin/docker-entrypoint

Summary

Maintainability
Test Coverage
#!/bin/bash -e

# If running the rails server then create or migrate existing database
if [ "${*}" == "bundle exec thrust ./bin/rails server" ]; then
  ./bin/rails db:prepare
fi

exec "${@}"