Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ app.get('/', (req, res) => {
app.listen(process.env.PORT || 8123);
```

7. Update the `main` field in `package.json` with the filename of your app entry point: `"main": "app.js"`
7. Update the `scripts` section in `package.json` with your app entry point command, under `start`: `"start": "node app.js"`
8. Run `git add .`
9. Run `git commit -m "Initial Commit"`
10. Run `git push origin master`
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const createContainer = async (
]
}
},
Cmd: ['node', '.']
Cmd: ['npm', 'run', 'start']
})
.then(container => container.id)
.catch(err => err)
Expand Down