Adding production and deployment files.

This commit is contained in:
Simon Lindh
2020-02-24 03:11:07 +07:00
committed by wiz
parent d6bfb77abe
commit 864b33fb38
5 changed files with 280 additions and 0 deletions

10
entrypoint.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
mysqld_safe&
sleep 5
nginx
cd /mempool.space/backend
rm -f mempool-config.json
rm -f cache.json
touch cache.json
jq -n env > mempool-config.json
node dist/index.js