krata/entrypoint.sh

11 lines
223 B
Bash
Executable File

#!/bin/bash
set -e
git config --global --add safe.directory /app
rm -f /app/tmp/pids/server.pid
gem update --system
bundle install
# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"