Skip to content

Commit

Permalink
updated dockerfile to render the shutdown contracts individually
Browse files Browse the repository at this point in the history
  • Loading branch information
kakucodes committed Feb 3, 2025
1 parent d12551c commit ca4f5e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cosmwasm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ COPY sdk/rust /sdk/rust

RUN --mount=type=cache,target=/target,id=cosmwasm_target --mount=type=cache,target=/usr/local/cargo/registry optimize.sh .
# Build only shutdown contracts with no default features
RUN --mount=type=cache,target=/target,id=cosmwasm_target --mount=type=cache,target=/usr/local/cargo/registry optimize.sh ./contracts/shutdown-wormhole ./contracts/shutdown-token-bridge
RUN --mount=type=cache,target=/target,id=cosmwasm_target --mount=type=cache,target=/usr/local/cargo/registry optimize.sh ./contracts/shutdown-wormhole
RUN --mount=type=cache,target=/target,id=cosmwasm_target --mount=type=cache,target=/usr/local/cargo/registry optimize.sh ./contracts/shutdown-token-bridge

FROM scratch as artifacts
COPY --from=builder /code/artifacts /

0 comments on commit ca4f5e5

Please sign in to comment.