I’m trying to use the exec form in a dockerfile CMD:
CMD ["node", "main.js"]
But how do I have to handle additional parameters?
CMD npx next start -p $PORT_VALUE
Should it be
CMD ["npx", "next", "start", "-p", "$PORT_VALUE"]
or
CMD ["npx", "next", "start", "-p $PORT_VALUE"]
?