Files
my_kubes/dockerfiles/brimir_support/script/docker-entrypoint.sh
Fergal Moran dc5f8fd2c5 sed fuck up
2018-02-14 16:52:53 +00:00

9 lines
231 B
Bash
Executable File

#!/bin/bash
set -e
export SECRET_KEY_BASE=`rake secret`
bundle exec rake db:migrate
bundle exec rails c < db/add_first_agent.rb
bundle exec unicorn -c $UNICORN_CONFIG -E $RAILS_ENV -D
tail -f $RAILS_LOG
#tail -f $UNICORN_ERROR_LOG