Files
edd88ded07 add unit tests for handlePoolCreated (#227)
* add subgraph unit tests

* add test to CI

* fix(lint): auto-fix [ci]

* fix(lint): auto-fix [ci]

* fix(lint): auto-fix [ci]

---------

Co-authored-by: mzywang <[email protected]>
2024-05-29 13:43:50 -04:00

22 lines
560 B
Docker

# copied from https://github.com/LimeChain/demo-subgraph/blob/main/Dockerfile
FROM --platform=linux/x86_64 ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
ENV ARGS=""
RUN apt update \
&& apt install -y sudo curl postgresql postgresql-contrib
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - \
&& sudo apt-get install -y nodejs
RUN curl -OL https://github.com/LimeChain/matchstick/releases/download/0.6.0/binary-linux-22 \
&& chmod a+x binary-linux-22
RUN mkdir matchstick
WORKDIR /matchstick
CMD ../binary-linux-22 ${ARGS}