Open Kukks opened 5 years ago
@janoside I was also wondering about this. I would love to run this in Docker (pulled from Docker Hub) vs installing manually with NPM.
Also, there are a bunch of no-name builds of this out there, would be nice to have an officially blessed container.
FYI if anyone finds this.
My main issue was having to clone the repo first. However, Docker Compose allows you to build from a remote URL without cloning the repo first.
version: '3'
services:
btc-rpc-explorer:
container_name: btc-rpc-explorer
restart: unless-stopped
environment:
- BTCEXP_HOST=0.0.0.0
ports:
- '3002:3002'
build:
context: https://github.com/janoside/btc-rpc-explorer.git
dockerfile: Dockerfile
about this I just send a PR to include a working docker-compose.yml file https://github.com/janoside/btc-rpc-explorer/pull/549
Currently, there is one remotely close published docker image of this repo and it seems to be outdated. Seeing as you have a dockerfile in the project already, I'd recommend you configure an automated build on Dockerhub. See https://docs.docker.com/docker-hub/github/