Skip to content

Commit

Permalink
Merge pull request #6 from decentraland/feat/add-indexer-to-docker
Browse files Browse the repository at this point in the history
feat: add indexer script to dockerfile
  • Loading branch information
juanmahidalgo authored Nov 11, 2024
2 parents 69a8409 + 0776009 commit b64e513
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ COPY --from=builder /squid/schema.graphql schema.graphql
COPY --from=builder /squid/squid.yaml squid.yaml
# remove if no commands.json is in the root
ADD commands.json .
# add indexer script
ADD indexer.sh /squid/indexer.sh
RUN chmod +x /squid/indexer.sh
RUN echo -e "loglevel=silent\\nupdate-notifier=false" > /squid/.npmrc
RUN npm i -g @subsquid/cli@latest && mv $(which sqd) /usr/local/bin/sqd
ENV GQL_PORT 5000
Expand Down

0 comments on commit b64e513

Please sign in to comment.