mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 14:58:27 +00:00
* fix typo in entrypoint script invocation from the server dockerfile * use sh in the entrypoint shebang instead of bash * make entrypoint script executable
11 lines
155 B
Bash
Executable file
11 lines
155 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
bundle check || bundle install
|
|
rake db:create
|
|
rake db:migrate
|
|
|
|
if [ -e tmp/pids/server.pid ]; then
|
|
rm tmp/pids/server.pid
|
|
fi
|
|
|
|
exec "$@"
|