Browse Source

start-ecs

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
c74c1f3eca
  1. 4
      .gitignore
  2. 3
      package.json

4
.gitignore

@ -1,6 +1,10 @@
notes.md
todo.md
# just for testing
binaries/nodeapp-macos
binaries/nodeapp-alpine
dist/public/uploads
dist/config/app.json

3
package.json

@ -14,7 +14,8 @@
"start-hosting": "HOSTING_PROVIDER=true ts-node ./app.ts",
"prod": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && env NODE_ENV=production node dist/app.js",
"tsc": "rm -rf dist/ && tsc && cp -r public dist/public",
"dev": "rm -rf dist/ && tsc && cp -r public dist/public && node --inspect ./dist/app.js"
"dev": "rm -rf dist/ && tsc && cp -r public dist/public && node --inspect ./dist/app.js",
"start-ecs": "export NODE_ALIAS=$(curl $ECS_CONTAINER_METADATA_URI | echo $(jq -r .DockerName)) && export NODE_IP=$(curl $ECS_CONTAINER_METADATA_URI | echo $(jq -r .DockerName).$NODE_DOMAIN) && export NODE_ENV=production && node dist/app.js"
},
"keywords": [],
"author": "",

Loading…
Cancel
Save