14 lines
265 B
Bash
14 lines
265 B
Bash
|
#!/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 -p "${API_PORT}:${API_PORT}" --name "CONTAINER" "${IMAGE}"
|