File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ RUN npm run build \
1616 && npm prune
1717
1818# Start server
19- CMD ["node " , "./node_modules/moleculer/bin/moleculer-runner.js " ]
19+ CMD ["npm " , "start " ]
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ NAMESPACE=
22LOGGER = true
33LOGLEVEL = info
44SERVICEDIR = dist/services
5- CONFIG = dist
65
76{{# if_eq transporter "NATS"}}
87TRANSPORTER = nats://nats:4222
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "build" : " tsc --build tsconfig.json" ,
77 "dev" : " ts-node ./node_modules/moleculer/bin/moleculer-runner.js --hot --repl --config moleculer.config.ts services/**/*.service.ts" ,
8- "start" : " moleculer-runner" ,
8+ "start" : " moleculer-runner --config dist/moleculer.config.js " ,
99 "cli" : " moleculer connect {{transporter}}" ,
1010 "ci" : " jest --watch" ,
1111 "test" : " jest --coverage" {{#lint }},
You can’t perform that action at this time.
0 commit comments