Add a Dockerfile directly in the project#38
Conversation
|
This should be ready to merge. The image is self contained and can be build on docker hub. Example : https://cloud.docker.com/repository/docker/cosme/orion-web Also to prevent problems with the mapbox TOS, as mentionned in #3 , and as the api key right now has to be included during build, this PR also changes the map tiles for a free to use tiles provider, namely http://maps.stamen.com/ It can be deployed in compose like this : Or : |
|
I believe this use case is already covered by https://github.com/LINKIWI/orion-docker |
|
This is not the same, having the dockerfile alongside the repo allows it to be always up to date, it is a lot cleaner than having a separate repo that users need to clone, and then build the image themselves. With this pr the image can be built directly by Docker hub. This makes things easier for you and your users. |
This allows to build automatically images from the source repo, and to offer pre-built images to users.
After merging, you can add the repo to docker hub for automated building, like I did there :
https://cloud.docker.com/repository/docker/cosme/orion-web
This provides the best experience for users.