vls: standalone docker image for separate build
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
parent
4b2370535a
commit
2d8f4c94eb
@ -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.
|
- 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.
|
- 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
|
## Volume Creation
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -66,8 +66,7 @@ services:
|
|||||||
|
|
||||||
vls:
|
vls:
|
||||||
build:
|
build:
|
||||||
dockerfile: ./vlsd/Dockerfile
|
context: ./vlsd
|
||||||
context: .
|
|
||||||
image: vlsd
|
image: vlsd
|
||||||
container_name: vlsd-test
|
container_name: vlsd-test
|
||||||
command:
|
command:
|
||||||
|
@ -40,10 +40,10 @@ RUN apk update && \
|
|||||||
|
|
||||||
COPY --from=builder /build/validating-lightning-signer/target/release/vlsd2 /usr/local/bin/vlsd2
|
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
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
COPY assets/vlsd2.toml /vlsd2.toml
|
COPY vlsd2.toml /vlsd2.toml
|
||||||
|
|
||||||
ENV VLS_DATA=/home/vls/.lightning-signer
|
ENV VLS_DATA=/home/vls/.lightning-signer
|
||||||
RUN mkdir "${VLS_DATA}"
|
RUN mkdir "${VLS_DATA}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user