Skip to content

Commit

Permalink
Added Docker hub instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanz authored Sep 23, 2022
1 parent 8e072e7 commit f936f05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ docker run --rm -p 8000:80 explorer-ui
```
You can now open your web browser and navigate to `http://localhost:8000/` to visit the application.

You can also use the hosted Docker image at Docker Hub, you only need to map a volume to overwrite the `config.json` in the container:

```bash
docker run --rm -it -p 80:80 -v /path/to/your/src/assets/config.json:/usr/share/nginx/html/assets/config.json polkascan/explorer-ui
```

## Build manually

These are the instructions for a manual build. It is advised to use the latest Node LTS. Or at least the node version asked by [Angular](https://angular.io/) or [Polkadot JS](https://polkadot.js.org/):
Expand Down

0 comments on commit f936f05

Please sign in to comment.