- Added a Dockerfile to allow the editor to be served using docker containers

- Updated README with docker instructions
This commit is contained in:
Chris Sng
2016-11-09 22:08:38 +08:00
parent 3b83c39ac9
commit 2812c72d96
2 changed files with 36 additions and 1 deletions

View File

@@ -72,6 +72,26 @@ npm install --save-dev eslint eslint-plugin-react
npm run lint
```
## Docker
Build the docker image
```
docker build -t maputnik/editor .
```
Start a docker container using the image
```
docker run --name maputnik -p 8888:8888 -d maputnik/editor
```
Stop the container
```
docker stop maputnik
```
## Sponsors
This project would not be possible without commercial and individual sponsors.
@@ -102,7 +122,7 @@ This project would not be possible without commercial and individual sponsors.
- Uli [geOps](http://geops.ch/)
- Helge Fahrnberger
Kirusanth Poopalasingam
**Stakeholder**
- Brian Flood