Skip to content

Instantly share code, notes, and snippets.

@alinetskyi
Last active May 31, 2022 14:04
Show Gist options
  • Save alinetskyi/bac04f48c26e21091bd28007627b0109 to your computer and use it in GitHub Desktop.
Save alinetskyi/bac04f48c26e21091bd28007627b0109 to your computer and use it in GitHub Desktop.
Dockerfile-hasura-cli
FROM ubuntu:latest
COPY . .
RUN apt update
RUN apt install -y curl
RUN curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash
CMD cd /hasura && hasura metadata apply --endpoint http://hasura:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment