transfer_middleware/sh/create.sh

14 lines
294 B
Bash
Raw Normal View History

2024-06-18 16:34:14 +08:00
#!/bin/bash
IMAGE="transfer_middleware:v1"
RPC_CONTAINER="transfer_middleware"
RPC_PORT="10001"
V_REFLECT=""
docker build -t "${IMAGE}" . --no-cache
docker stop "${RPC_CONTAINER}"
docker rm "${RPC_CONTAINER}"
docker run -it -p "${RPC_PORT}:${RPC_PORT}" --name "$RPC_CONTAINER" "${IMAGE}"