transfer_middleware/sh/depoly.sh

14 lines
295 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
2024-07-16 18:26:51 +08:00
docker stop "${RPC_CONTAINER}"
2024-06-18 16:34:14 +08:00
2024-07-16 18:26:51 +08:00
docker rm "${RPC_CONTAINER}"
#docker run -it -p "${RPC_PORT}:${RPC_PORT}" --name "$RPC_CONTAINER" "${IMAGE}"