Skip to content

Commit 45334f4

Browse files
committed
Fix 52
1 parent 2af2ccc commit 45334f4

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

template/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"]

template/docker-compose.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ NAMESPACE=
22
LOGGER=true
33
LOGLEVEL=info
44
SERVICEDIR=dist/services
5-
CONFIG=dist
65

76
{{#if_eq transporter "NATS"}}
87
TRANSPORTER=nats://nats:4222

template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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}},

0 commit comments

Comments
 (0)