4b6693f2c7
Dockerfile CMD is run in non-interactive shell, so /etc/bash.bashrc is not sourced.
21 lines
332 B
Bash
Executable File
21 lines
332 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PORT=3000
|
|
|
|
service postgresql start
|
|
service redis-server start
|
|
service varnish start
|
|
|
|
cd /Windshaft-cartodb
|
|
node app.js development &
|
|
|
|
cd /CartoDB-SQL-API
|
|
node app.js development &
|
|
|
|
cd /cartodb
|
|
source /usr/local/rvm/scripts/rvm
|
|
bundle exec script/restore_redis
|
|
bundle exec script/resque &
|
|
bundle exec rails s -p $PORT
|
|
|