wormchain: Copy sdk directory into docker image

We want wormchain to use the vaa package from the sdk directory so copy
that into the image when building.  Also move the dockerfile into the
parent directory to be consistent with what we do for the other
dockerfiles that use the root directory as the context.
This commit is contained in:
Chirantan Ekbote 2022-09-21 12:04:55 +09:00 committed by Chirantan Ekbote
parent 975182acb7
commit bad2b6c5c6
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ WORKDIR /app
COPY ./wormhole_chain/go.mod .
COPY ./wormhole_chain/go.sum .
COPY ./sdk /sdk
RUN go mod download
COPY ./wormhole_chain .

View File

@ -720,7 +720,7 @@ if near:
docker_build(
ref = "wormhole-chaind-image",
context = ".",
dockerfile = "./wormhole_chain/Dockerfile",
dockerfile = "./Dockerfile.wormchain",
only = [],
ignore = ["./wormhole_chain/testing", "./wormhole_chain/ts-sdk", "./wormhole_chain/design", "./wormhole_chain/vue", "./wormhole_chain/build/wormhole-chaind"],
)