From 9c4517ac059e4a3ed04cb088aaa942ceee6a6b21 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Fri, 1 Sep 2023 11:24:37 +0800 Subject: [PATCH] fix: scripts fix Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- build/images/openim-tools/openim-web/Dockerfile | 2 +- deployments/templates/init/README.md | 4 ++-- docker-compose.yml | 4 ++-- scripts/create_topic.sh | 13 +++++++++++++ scripts/install/openim-rpc.sh | 4 ++-- scripts/lib/util.sh | 7 ++++++- tools/imctl/go.sum | 2 -- 7 files changed, 26 insertions(+), 10 deletions(-) create mode 100755 scripts/create_topic.sh diff --git a/build/images/openim-tools/openim-web/Dockerfile b/build/images/openim-tools/openim-web/Dockerfile index fc5c7bc76..77ca4cf49 100644 --- a/build/images/openim-tools/openim-web/Dockerfile +++ b/build/images/openim-tools/openim-web/Dockerfile @@ -50,7 +50,7 @@ COPY --from=builder /openim/openim-server/dist /openim/openim-server/dist ENV PORT 11001 ENV DISTPATH /openim/openim-server/dist -EXPOSE $PORT +EXPOSE 11001 RUN mv ${OPENIM_SERVER_BINDIR}/tools/$(get_os)/$(get_arch)/openim-web /usr/bin/openim-web diff --git a/deployments/templates/init/README.md b/deployments/templates/init/README.md index 460739372..b9957dadc 100644 --- a/deployments/templates/init/README.md +++ b/deployments/templates/init/README.md @@ -144,7 +144,7 @@ source ./environment.sh cat > openim-api.service.template < $service.service.template <