Add docker image (#375)

* Add Dockerfile

Add documentation

Ref #375

* Add PORT, VOLUME and reduce size of the docker image significantly

Fix doc and reduce image size

Fix #375

* Fix docker compose
This commit is contained in:
Chevdor
2018-07-27 16:32:12 +02:00
committed by Gav Wood
parent e5900d8f17
commit 97a6db785e
8 changed files with 196 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# This script show the polkadot version and commit ref that was
# used to build the image.
# If you report an issue, call this script to get all details.
# This script will no longer be required once the polkadot cli
# can report its commit ref.
echo "-----------------------------------------"
printf "Polkadot Docker Container: "
polkadot --version
printf " "
git rev-parse HEAD
echo "-----------------------------------------"