express-typescript
express-typescript copied to clipboard
missing script
(removed the template, as this is a generic error, not a functional one).
Check Dockerfile
:
# Run node server
CMD npm run start
check package.json
:
"scripts": {
"build": "tsc --project './tsconfig.json'",
"dev": "tsc --project './tsconfig.json' --watch & NODE_ENV=development nodemon dist",
"test": "tsc --project './tsconfig.json' && ./node_modules/.bin/mocha dist/**/*.spec.js",
"lint": "./node_modules/.bin/tslint -c tslint.json 'src/**/**.ts'"
}
notice, there's no declared command with the name of start
.