Block producer investments payback calculator front-end.
Clone the project with the following command:
$ git clone https://github.com/remmeauth/block-producer-calculator-front.git
$ cd block-producer-calculator-front
To build the project, use the following command:
$ docker build -t block-producer-calculator-front . -f Dockerfile.development
To run the project, use the following command. It will start the server and occupate current terminal session:
$ docker run -p 8080:8080 -v $PWD:/block-producer-calculator-front \
--name block-producer-calculator-front block-producer-calculator-front
If you need to enter the bash of the container, use the following command:
$ docker exec -it block-producer-calculator-front bash
Clean all containers with the following command:
$ docker rm $(docker ps -a -q) -f
Clean all images with the following command:
$ docker rmi $(docker images -q) -f
To build the project, use the following command:
$ docker build -t block-producer-calculator-front . -f Dockerfile.production
To run the project, use the following command. It will start the server and occupate current terminal session:
$ docker run -p 8080:8080 -e PORT=8080 \
--name block-producer-calculator-front block-producer-calculator-front