Skip to content

Commit

Permalink
ci: don't package the contracts in the docker image
Browse files Browse the repository at this point in the history
Clarinet now retrieves the contracts from the network, so we do not need
the hack of putting them in the image.
  • Loading branch information
obycode committed Mar 16, 2023
1 parent f857186 commit f53f292
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ RUN cp target/release/subnet-node /out
FROM debian:bullseye-backports

COPY --from=build /out/ /bin/
# Add the core contracts to the image, so that clarinet can retrieve them.
COPY --from=build /src/core-contracts/contracts/subnet.clar /contracts/subnet.clar
COPY --from=build /src/core-contracts/contracts/helper/subnet-traits.clar /contracts/subnet-traits.clar

CMD ["subnet-node", "start"]

0 comments on commit f53f292

Please sign in to comment.