The front-end of a file server, built with Angular.
npm startnpm run buildBuild for production. All the compiled html files and js files will be generated in dist.
npm run buildCreate image with nginx.
docker build -t jojozhuang/file-server-angular .Create container for stand alone deployment.
docker run --name file-server-angular -p 12020:80 -d jojozhuang/file-server-angularAccess http://localhost:12020/ in browser.
Or deploy together with backend file-node-server. Copy the compiles files in dist to backend server and serve them as static files.