kepler-gl-docker
Where to find the image?
This docker image is avaialble to pull in docker hub, refer here
What this image deploys?
This code deploys kepler.gl demo-app in docker container
Run the application using docker compose
- Update the
MapboxAccessTokenin .env (it is not necessary to have token to start the application). - Change the
KEPLER_PORTin .env if 8080 port is not available to use. - Run
docker compose up -dto start the application, it will pull the image and run the application on http://localhost:8080 orhttp://localhost:if port is changed./ - To stop and remove the container run
docker compose down
Run the application using docker run
- Pull the image using following command
- Run the container
- Provide MapboxAccessToken in the run command (if available)
Build the application from Dockerfile
Following command can be used for building the image
Buildx for pushing multi-architecture images
Create a new builder
docker buildx create --name mybuilder --bootstrap --use docker buildx use mybuilder docker buildx inspect mybuilder
build the Docker Image for arm64 and amd64
docker buildx build --push --platform linux/arm64,linux/amd64 --tag krishnakhadka/keplergl:latest .
inspect the image
docker buildx imagetools inspect krishnakhadka/keplergl:latest
remove buildx builder
docker buildx rm mybuilder