docker/mod/html5/entrypoint.sh

15 lines
423 B
Bash
Raw Normal View History

2020-05-26 17:30:37 +02:00
#!/bin/sh
2020-04-09 22:33:27 +02:00
cd /app
export ROOT_URL=http://127.0.0.1/html5client
export MONGO_URL=mongodb://10.7.7.6/meteor
export NODE_ENV=production
export ENVIRONMENT_TYPE=production
export PORT=3000
export LANG=en_US.UTF-8
2020-04-09 22:33:27 +02:00
2020-05-26 17:30:37 +02:00
rm -f /app/programs/server/assets/app/config/settings.yml
2020-04-10 13:29:06 +02:00
dockerize \
-template /app/programs/server/assets/app/config/settings.yml.tmpl:/app/programs/server/assets/app/config/settings.yml \
node main.js