vls: standalone docker image for separate build

Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh 2023-11-12 11:27:12 +05:30
parent 4b2370535a
commit 2d8f4c94eb
No known key found for this signature in database
GPG Key ID: D3239BA6109A2CE7
4 changed files with 10 additions and 4 deletions

View File

@ -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
```

View File

@ -66,8 +66,7 @@ services:
vls:
build:
dockerfile: ./vlsd/Dockerfile
context: .
context: ./vlsd
image: vlsd
container_name: vlsd-test
command:

View File

@ -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}"