conradoqg / naivecoin

A cryptocurrency implementation in less than 1500 lines of code
Apache License 2.0
1.22k stars 319 forks source link

update docker instructions to create and use an image #47

Closed rkamradt closed 6 years ago

rkamradt commented 6 years ago

I'm doing a tutorial on building a cryptocurrency system, and I'm using your repo to create an image that is stored on docker hub. I had to make some changes to the Dockerfile to create a complete image, added a script that creates and uploads the image, and changed the docker-compose.yml to use the image (the change to the docker-compose.yml isn't strictly necessary) I thought I would offer up these changes if you want them. If you do take them, you can change the image name in the build-docker.sh script to reference your docker cloud username instead of mine. I will change my tutorial code to pull the image from what you push out.

conradoqg commented 6 years ago

I'll use your changes as an example and I will create a specific version for naivecoin. Thanks dude!