This commit is contained in:
pablo 2023-02-18 23:02:14 +01:00
parent 65da55d636
commit ca4a2c095a
2 changed files with 4 additions and 3 deletions

View file

@ -24,11 +24,12 @@ First, clone this repo where you would like to run your node.
### Building electrs ### Building electrs
Since there is no good `electrs` docker image out there, we roll our own one Since there is no good `electrs` docker image out there, we roll our own one
for this project. The file is `Dockerfile-electrs`. To build the image, run the for this project. The file is `electrs-docker/Dockerfile`. To build the image, run the
following command: following command:
```bash ```bash
docker build -t my-electrs:latest -f Dockerfile-electrs . cd electrs-docker
docker build -t my-electrs:latest -f Dockerfile .
``` ```

View file

@ -10,8 +10,8 @@ RUN apt install -y \
cargo cargo
RUN git clone https://github.com/romanz/electrs RUN git clone https://github.com/romanz/electrs
RUN git checkout v0.9.10
WORKDIR electrs WORKDIR electrs
RUN git checkout v0.9.10
RUN ls -la RUN ls -la
RUN cargo build --locked --release RUN cargo build --locked --release