diff --git a/README.md b/README.md index 135f4cd..5e778de 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,13 @@ sudo systemctl enable --now docker - Docker Images in this repository work with version 2 and are also __backward compatible__ with version 1. - If you are using the distribution installation the `docker compose` command used below has to be changed to `docker-compose` instead. +## VLSD Image + +``` +cd vlsd +docker build -t vlsd . +``` + ## Volume Creation ``` diff --git a/docker-compose.yml b/docker-compose.yml index 0543418..c55e8fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,8 +66,7 @@ services: vls: build: - dockerfile: ./vlsd/Dockerfile - context: . + context: ./vlsd image: vlsd container_name: vlsd-test command: diff --git a/vlsd/Dockerfile b/vlsd/Dockerfile index f361cea..7705576 100644 --- a/vlsd/Dockerfile +++ b/vlsd/Dockerfile @@ -40,10 +40,10 @@ RUN apk update && \ COPY --from=builder /build/validating-lightning-signer/target/release/vlsd2 /usr/local/bin/vlsd2 -COPY vlsd/entrypoint.sh /entrypoint.sh +COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh -COPY assets/vlsd2.toml /vlsd2.toml +COPY vlsd2.toml /vlsd2.toml ENV VLS_DATA=/home/vls/.lightning-signer RUN mkdir "${VLS_DATA}" diff --git a/assets/vlsd2.toml b/vlsd/vlsd2.toml similarity index 100% rename from assets/vlsd2.toml rename to vlsd/vlsd2.toml