Sha256: 0ee193cbd1d7591f3068c5d7035691c9e2bd7e5f184834813f4a42dc85ee3df0

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

#!/bin/bash

set -e

# Create the Rails production DB on the first run
bundle exec rails db:create

# Make sure we are using the most up to date
# database schema
bundle exec rails db:migrate

# Remove a potentially pre-existing server.pid for Rails.
rm -f /<%= app_name %>/tmp/pids/server.pid

# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schienenzeppelin-0.2 templates/.entrypoint.sh.erb
schienenzeppelin-0.1 templates/.entrypoint.sh.erb