Add Docker files, Update rails commands
This commit is contained in:
parent
7f0e2c3b42
commit
1f5cbcd6d1
7 changed files with 171 additions and 0 deletions
9
docker-entrypoint.sh
Executable file
9
docker-entrypoint.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# allow re-using the instance - https://stackoverflow.com/a/38732187/2866660
|
||||
if [ -f tmp/pids/server.pid ]; then
|
||||
rm tmp/pids/server.pid
|
||||
fi
|
||||
|
||||
exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue