Skip to content

Commit

Permalink
fix: npm missing from base image (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjorge-graphops authored Jan 11, 2024
1 parent 0bfd18c commit 7af5b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/graph-toolbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RUN mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install nodejs -y
apt-get install nodejs npm -y

RUN npm install --global yarn && \
yarn global add nan @graphprotocol/graph-cli@${GRAPH_CLI_VERSION} @graphprotocol/indexer-cli@${INDEXER_VERSION}
Expand Down

0 comments on commit 7af5b2b

Please sign in to comment.