BikeBikeBike/entrypoint.sh
Jonathan Rosenbaum 9fe8c70ea6 This successfully builds a working bikebike rails app with Docker!
Former-commit-id: 0a55db70c4049243d5eb6c164698c93f49b1746a
2021-12-22 22:45:37 -05:00

9 lines
209 B
Bash

#!/bin/bash
set -e
# Remove a potentially pre-existing server.pid for Rails.
rm -f /app/BikeBike/tmp/pids/server.pid
# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"