Optimize docker image

* Use 2 stage docker building to produce a tiny python3-slim based docker image with just the compilation results.
This commit is contained in:
Yuri Astrakhan
2019-08-03 12:03:16 -04:00
parent 109198a524
commit de9c4fcc4a
4 changed files with 73 additions and 17 deletions

View File

@@ -26,6 +26,13 @@ Mapbox has built one of the best and most amazing OSS ecosystems. A key componen
## Donations
If you or your organisation has seen value from Maputnik, please consider donating at <https://maputnik.github.io/donate>
## Using
The quickest way is to use docker, even without cloning the repo. Run this command and open your browser to http://localhost:8888 . Ctrl+C to stop the server.
```bash
docker run -it -p 8888:8888 maputnik
```
## Documentation