-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (24 loc) · 871 Bytes
/
Dockerfile
File metadata and controls
28 lines (24 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM node:20
# Clone and install wait-for-it
RUN git clone https://github.com/vishnubob/wait-for-it \
&& cp wait-for-it/wait-for-it.sh /usr/local/bin \
&& chmod +x /usr/local/bin/wait-for-it.sh \
&& rm -rf wait-for-it
WORKDIR /subgraph
COPY abis /subgraph/abis
COPY src /subgraph/src
COPY test /subgraph/test
COPY utils /subgraph/utils
COPY networks.yaml /subgraph/networks.yaml
COPY package.json /subgraph/package.json
COPY yarn.lock /subgraph/yarn.lock
COPY schema.graphql /subgraph/schema.graphql
COPY subgraph.template.yaml /subgraph/subgraph.template.yaml
COPY templatify.ts /subgraph/templatify.ts
COPY hardhat.config.ts /subgraph/hardhat.config.ts
COPY tsconfig.json /subgraph/tsconfig.json
COPY tsconfig.hardhat.json /subgraph/tsconfig.hardhat.json
COPY typechain-types /subgraph/typechain-types
# Install dependencies
RUN yarn
ENTRYPOINT ["yarn"]