From f1702b9891296f908bf151c96f49f2f0596c572a Mon Sep 17 00:00:00 2001 From: Rzy <465386466@qq.com> Date: Wed, 19 Jun 2024 10:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=A3=E6=95=B0api=E8=BD=AC=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/create.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sh/create.sh b/sh/create.sh index 1939a59..0f5709e 100755 --- a/sh/create.sh +++ b/sh/create.sh @@ -5,8 +5,11 @@ CONTAINER="transfer_rs" API_PORT="10101" V_REFLECT="" +docker build -t "${IMAGE}" . --no-cache + + docker stop "${CONTAINER}" docker rm "${CONTAINER}" -echo docker run -it -p "${API_PORT}:${API_PORT}" --name "$CONTAINER" "${IMAGE}" \ No newline at end of file +docker run -it -p "${API_PORT}:${API_PORT}" --name "$CONTAINER" "${IMAGE}" \ No newline at end of file