mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
14 lines
350 B
Docker
14 lines
350 B
Docker
FROM hasura/graphql-engine:v1.0.0-beta.9
|
|
|
|
# set an env var to let the cli know that
|
|
# it is running in server environment
|
|
ENV HASURA_GRAPHQL_CLI_ENVIRONMENT=server-on-docker
|
|
|
|
COPY docker-entrypoint.sh /bin/
|
|
COPY cli-hasura-linux-amd64 /bin/hasura-cli
|
|
RUN chmod +x /bin/hasura-cli
|
|
|
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
|
|
|
CMD ["graphql-engine", "serve"]
|