stared / quantum-game

Quantum Game (old version) - a puzzle game with real quantum mechanics in a browser
http://v2016.quantumgame.io/
MIT License
343 stars 42 forks source link

Add docker container support #11

Closed spkane closed 6 years ago

spkane commented 6 years ago

This makes it easy to build this inside a Docker container for easy access and deployment.

stared commented 6 years ago

Looks nice, and works (for your repo). Though, I am not sure what does ${IMAGE_ID} mean. E.g. how to run the the current master. Could you explain?

spkane commented 6 years ago

@stared Sure. When you build the Docker image locally with docker build . the last line of a successful build will include an image ID, which is just a hash. It'll look something like this:

Successfully built 6585b874767a

${IMAGE_ID} was just intended to be a placeholder for that.

stared commented 6 years ago

@spkane Thanks for explaining. Now it works. Though:

spkane commented 6 years ago

@stared I rebased against master and added a little more detail to the README. Any chance we can go ahead and merge this? We can always add some more detail or information if people ask for it in the future.