Skip to content

Bit-Developer/file-server-angular

Repository files navigation

file-server-angular

The front-end of a file server, built with Angular.

2. Start Server

npm start

3. Build

npm run build

4. Docker

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.