mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
1abb1dee69
https://github.com/hasura/graphql-engine-mono/pull/1740 GitOrigin-RevId: e807952058243a97f67cd9969fa434933a08652f
18 lines
412 B
Bash
Executable File
18 lines
412 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CONTAINER_NAME=graphql-remote-server
|
|
PORT=5000
|
|
echo "Launching graphql remote server container: $CONTAINER_NAME"
|
|
docker run \
|
|
--name "$CONTAINER_NAME" \
|
|
-v $(pwd)/graphql_server:/app \
|
|
-w /app \
|
|
-p "$PORT":$PORT \
|
|
--rm \
|
|
-d python:3.8-slim-buster \
|
|
./run_graphql_server.sh
|
|
|
|
until curl -s "http://127.0.0.1:$PORT" &>/dev/null; do
|
|
echo -n '.' && sleep 0.2
|
|
done
|