Dockerized Angular 4 App (with Angular CLI)

May 17, 2017 ยท View on GitHub

License: MIT

Build docker image

$ docker build -t myapp . 

Run the container

$ docker run -d -p 8080:80 myapp

The app will be available at http://localhost:8080

You can easily tweak the nginx config in nginx/default.conf

Contents

  1. 1Build docker image
  2. 2Run the container