fix: building image with extensions and batch manager

This commit is contained in:
Karol Sójko
2020-07-08 09:08:39 +02:00
parent f5af2266cc
commit 378afdc473
4 changed files with 41 additions and 44 deletions

17
docker/entrypoint.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
set -e
case "$1" in
'start' )
echo "Prestart Step 1/1 - Removing server lock"
rm -f /app/tmp/pids/server.pid
echo "Starting Server..."
bundle exec rails s -b 0.0.0.0
;;
* )
echo "Unknown command"
;;
esac
exec "$@"