Updating your web server

At the top of your stack is the web server in which you host your web application in. This is a live, production system that is likely exposed to the internet, thus one that is at most risk. It should be judiciously kept up to date.

Ideally, your release pipeline resembles the one described in Chapter 3, Prepare Angular App for Production Release, where your frontend application is served by a containerized low-profile instance. This can be the minimal-node-web-server that I publish and maintain or an Nginx-based instance. In either case, an upgrade is simple by changing version number listed next to your base image:

DockerfileFROM duluca/minimal-node-web-server:8.6.0WORKDIR /usr/src/appCOPY dist public

It is always ...

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.