The front-end of a file server, built with Angular.
npm start
npm run build
Build for production. All the compiled html files and js files will be generated in dist
.
npm run build
Create 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-angular
Access 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.