transfer_middleware/sh/depoly.sh

14 lines
295 B
Bash
Executable File

#!/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}"