Query in Exercise: Build an Image and run it

Why node and compute.js of following commad

CMD node compute.js

are not in JSON array format

Hi @Dinesh_Reddy_Kommera,

This is Maisam Shah from Educative. Thank you for reaching out to us!

Yes, you are right. The commands can be written in the JSON array format as well. You can try out the CMD [“node”, “compute.js”] command as well in our editor and you’ll observe that it does not affect the underlying functionality.

If you have any further queries or concerns, please feel free to get in touch again.

Best Regards,
Maisam | Developer Advocate