1 min readSep 20, 2018
Try first replicating exactly what is in the post. It will be way easier for you to compare and check the differences and what might be missing.
In this case, I'm pretty sure the problem is because ng is not installed globally inside your Docker container, only as a node_modules dependency. So, you have to use an npm script, and then run it as:
RUN npm run build -- --output-path=./dist/out --configuration