Application Startup File in Node.js hosted on DigitalOcean via Docker

How to specify the entry point to my Node.js application, hosted on DigitalOcean via Docker?

If I understand correctly, the entry point for the application should be specified in Package.json.
Currency, such file points to index.js…which starts the server. And here, I’m lost…

In other posts, I see that it’s possible to specify the entry point to the application, via control panel of the hosting provider.
For example, @ben posted a photo of Plesk, on this matter:
image

Maybe, I’m off road and instead this is normally solved simply by adding a domain to the droplet that is directed to a specific file?

Community Page
Last updated: