-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
Describe the bug.
In the generated Dockerfile, the CMD is set to npm start
. There are no npm scripts defined at all in the generated package.json, thus it leads to an error when running the container.
Expected behavior
The docker container should run successfully and start the server.
Screenshots
How to Reproduce
- Generate the tutorial's asyncapi yaml file from CLI
- Generate the nodejs template
- Check package.json and Dockerfile, or try to build and run the image.
🖥️ Device Information [optional]
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
Yes I am willing to submit a PR!