Blockchain implemented using the Scala programming language.
378
The source code of the application, as well as the Dockerfile is available on GithHub. The docker container compiles the source code and run the scalachain node. For this reason, when running the container it is required to pass an argument to the init script that indicates the source code to run.
To run a branch of the remote repo simply pass the name of the branch as the argument. e.g.:
docker run --name scalachain-dev -p 8080:8080 elleflorio/scalachain development
To run the local source code mounting the local folder to the container /development one use the -v /your/source/folder:/development and pass "local" as the argument. e.g.:
docker run --name scalachain -p 8080:8080 -v ~/Development/scala/scalachain/:/development elleflorio/scalachain local
When you stop the container and start it again, the script will pull the updated code from the repo in case you are running a remote branch, or will compile the local code in case you are running in local mode.
Content type
Image
Digest
Size
178.1 MB
Last updated
over 7 years ago
docker pull elleflorio/scalachain