Skip to content

Commit

Permalink
add substrate-metadata-service docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
eldargab committed Sep 11, 2023
1 parent e849005 commit 4dbe354
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ COPY --from=substrate-ingest-builder /squid/common/deploy /squid
ENTRYPOINT ["node", "/squid/substrate/substrate-ingest/bin/run.js"]


FROM builder AS substrate-metadata-service-builder
RUN node common/scripts/install-run-rush.js deploy --project @subsquid/substrate-metadata-service


FROM node AS substrate-metadata-service
COPY --from=substrate-metadata-service-builder /squid/common/deploy /squid
ENTRYPOINT ["node", "/squid/substrate/substrate-metadata-service/bin/run.js"]


FROM builder AS chain-status-service-builder
RUN node common/scripts/install-run-rush.js deploy --project chain-status-service

Expand Down
1 change: 1 addition & 0 deletions common/config/rush/deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"deploymentProjectNames": [
"@subsquid/substrate-dump",
"@subsquid/substrate-ingest",
"@subsquid/substrate-metadata-service",
"chain-status-service"
],

Expand Down
1 change: 1 addition & 0 deletions ops/docker-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ function publish() {

publish substrate/substrate-dump || exit 1
publish substrate/substrate-ingest || exit 1
publish substrate/substrate-metadata-service || exit 1

#git push origin "HEAD:release/${release}" --follow-tags --verbose

0 comments on commit 4dbe354

Please sign in to comment.