mirror of
https://github.com/luxfi/uni-v4-subgraph.git
synced 2026-07-27 06:54:48 +00:00
* v4 init * remove unused lines * fix lint errors * fix(lint): auto-fix [ci] * more cleanup * fix(lint): auto-fix [ci] * more clean * fix(lint): auto-fix [ci] * save hooks * remove unsed code * fix(lint): auto-fix [ci] * fix liq amount bug * chore: add pre-commit lint checks * address comments * clean * set roundup flag true for amounts * lint * address comments * fix lint --------- Co-authored-by: matteenm <matteenm@users.noreply.github.com>
22 lines
560 B
Docker
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}
|