angular-nginx-with-proxy-docker-sample
angular-nginx-with-proxy-docker-sample copied to clipboard
Angular 結合 nginx 反向代理的 Docker 容器化封裝技巧
Demo1
This project is an example of how is the correct way to use angular and nginx proxy.
Angular version: 6
How to run!
Create a new docker image
docker build -t test:dev .
Run the image
docker run --rm -e BACKEND_URI="https://dog.ceo" -p 7070:80 test:dev