#!/bin/bash -e echo "entrypoint" echo "${*}" # If running the rails server then create or migrate existing database # bundle exec puma -C config/puma.rb # if [ "${*}" == "./bin/rails server" ]; then # ./bin/rails db:prepare # fi exec "${@}"