#!/bin/bash IMAGE="transfer_rs:v1" CONTAINER="transfer_rs" API_PORT="10101" V_REFLECT="" docker build -t "${IMAGE}" . --no-cache docker stop "${CONTAINER}" docker rm "${CONTAINER}" docker run -it -p "${API_PORT}:${API_PORT}" --name "$CONTAINER" "${IMAGE}" docker run -it -p "10101:10101" --name "transfer_rs" "transfer_rs:v1"