You can build the frontend locally without re-building the docker image.
# install dependencies
yarn
# serve with hot reload at localhost:8081
yarn dev
# localhost
CONFIG_NAME=local yarn build
# alpha net
CONFIG_NAME=alphanet yarn build
# main net
CONFIG_NAME=mainnet yarn build
# test net
CONFIG_NAME=testnet yarn build
Development build with different AERGO node:
# localhost
AERGO_NODE=https://testnet-api-http.aergo.io yarn dev
# main net
AERGO_NODE=https://mainnet-api-http.aergo.io API_URL=https://api2-mainnet.aergoscan.io/v2 yarn dev
# test net
AERGO_NODE=https://testnet-api-http.aergo.io API_URL=https://api2-testnet.aergoscan.io/v2 yarn dev
# alpha net
AERGO_NODE=https://alpha-api-http.aergo.io API_URL=https://api2-alpha.aergoscan.io/v2 yarn dev