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
+15
View File
@@ -0,0 +1,15 @@
version: '3'
services:
polkadot:
build:
context: .
ports:
- "127.0.0.1:30333:30333/tcp"
- "127.0.0.1:9933:9933/tcp"
image: chevdor/polkadot:latest
volumes:
- "polkadot-data:/data"
command: polkadot
volumes:
polkadot-data: