Setup Hasura locally

This commit is contained in:
Charles Bochet
2023-04-12 15:08:27 +02:00
parent c63b7df25d
commit 93fb5896b8
10 changed files with 83 additions and 581 deletions

View File

@ -0,0 +1,9 @@
FROM hasura/graphql-engine:latest as api
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y socat
RUN apt-get install -y vim
RUN curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash
CMD ["sh", "-c", "graphql-engine serve"]