Awesome
Angular SSR with Angular Universal and Deploy with Docker
How to run?
-
Clone the project
-
Open a terminal and run the application
npm run start
-
Go to http://localhost:4200 to browse the application
Deploy with docker
-
Build the application, use
sudo
if necessarynpm run build && npm run serve:ssr
-
Build Docker images
docker build -t angular_ssr_docker .
-
Run the image
docker run -p 4000:4000 angular_ssr_docker
-
Go to http://localhost:4000 to browse the application