Herokuify Admin (#53)
* Create Procfile for Admin * Add heroku-postbuild to build 'admin' before serving
This commit is contained in:
parent
f6ba6e3dcb
commit
133ecd4d7e
|
@ -0,0 +1 @@
|
|||
web: yarn start
|
|
@ -8,6 +8,7 @@
|
|||
"dev": "cross-env NODE_ENV=development BACKEND_URL=http://localhost:5000 webpack-dev-server",
|
||||
"lint": "tslint --project ./tsconfig.json --config ./tslint.json -e \"**/build/**\"",
|
||||
"start": "NODE_ENV=production node ./server.js",
|
||||
"heroku-postbuild": "yarn build",
|
||||
"tsc": "tsc"
|
||||
},
|
||||
"husky": {
|
||||
|
|
Loading…
Reference in New Issue