title: Building Angular for production without installing devDependencies
body: <p>I am currently trying to create a Docker container to build my production Angular app. I am using npm. I want to install dependencies only (so no devDependencies), so I want to do this:</p>
  
  <p><code>
  npm install --only=prod
  ng build project-name --prod
  </code></p>
  
  <p>The only problem is that I am missing a lot of packages like @angular/cli and @angular-devkit/build-angular for my build. I couldn't find any good solutions on the internet, but I don't want my build to include all my devDependencies. Also, I don't want my production build to contain any of the packages required to build. Is there a good solution for this? </p>