Specifying the executable

Every container needs to execute a command to run after the container is initialized. For us, this will be using the node command to run our application:

CMD node dist/index.js

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.