This docker image is avaialble to pull in docker hub, refer here
This code deploys kepler.gl demo-app in docker container
- 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:<KEPLER_PORT>/if port is changed. - To stop and remove the container run
docker compose down
- Pull the image using following command
docker pull krishnakhadka/keplergl:latest- Run the container
docker run --name keplergl -p 8080:8080 -d krishnakhadka/keplergl:latest- Provide MapboxAccessToken in the run command (if available)
docker run --name keplergl -p 8080:8080 -e MapboxAccessToken="GeneratedMapboxAccessToken" -d krishnakhadka/keplergl:latestFollowing command can be used for building the image
docker build -t krishnakhadka/keplergl https://github.com/khadkakrishna/kepler-gl-docker.gitCreate 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


