Add Docker files, Update rails commands

This commit is contained in:
1resu 2021-12-18 11:25:31 +01:00
parent 7f0e2c3b42
commit 1f5cbcd6d1
7 changed files with 171 additions and 0 deletions

9
docker-entrypoint.sh Executable file
View 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 "$@"