Updating Docker image

After having upgrade your app and its dependencies or simply adding new features, you will need to update and publish your new Docker image.

  1. In package.json, update the version property to 1.1.0 or match your version to your current Angular version
  2. Execute npm run docker:debug to build and verify that your updates work correctly
  3. Finally, execute npm run docker:publish to push your new image to a repository

After your image is published, take the necessary steps to deploy the image on a server or a cloud provider, as covered in Chapter 3, Prepare Angular App for Production Release, and Chapter 11, Highly-Available Cloud Infrastructure on AWS.

Get Angular 6 for Enterprise-Ready Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.