[Fixed] DOCKERFILE NPM Command to include colon and hyphens


My package.json have these scripts:
enter image description here

How do I change the CMD array to fit that criteria for "start:stage-ena-sso"?
I tried this but it cant compile:

CMD ["npm","start:stage-ena-sso"]


Please use it in the following way

CMD ["npm", "run", "start:stage-ena-sso"]

Leave a Reply

(*) Required, Your email will not be published