Skip to content

Instantly share code, notes, and snippets.

@braidn
Created March 23, 2021 01:06
Show Gist options
  • Save braidn/db1f234e90b29aca1b932132f5b9e12e to your computer and use it in GitHub Desktop.
Save braidn/db1f234e90b29aca1b932132f5b9e12e to your computer and use it in GitHub Desktop.
Docker Entrypoint fo Rails
#!/bin/sh
rm -f tmp/pids/server.pid
bin/rails server -b 0.0.0.0 -p $PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment