Home

Awesome

Angular SSR with Angular Universal and Deploy with Docker

How to run?

  1. Clone the project

  2. Open a terminal and run the application

    npm run start
    
  3. Go to http://localhost:4200 to browse the application

Deploy with docker

  1. Build the application, use sudo if necessary

      npm run build && npm run serve:ssr
    
  2. Build Docker images

      docker build -t angular_ssr_docker .
    
  3. Run the image

    docker run -p 4000:4000 angular_ssr_docker
    
  4. Go to http://localhost:4000 to browse the application