From 28c7a959a63ff6e02d67776993e7f17b94ce797d Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw)" <3293172751nss@gmail.com> Date: Fri, 30 Jun 2023 23:16:33 +0800 Subject: [PATCH] feat: set scripts Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ad212bb1b..6dc546f77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,12 +28,12 @@ RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure #set directory to map logs,config file,scripts file. -VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config","/Open-IM-Serverscript","/Open-IM-Server/db/sdk"] +VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config","/Open-IM-Server/scripts","/Open-IM-Server/db/sdk"] #Copy scripts files and binary files to the blank image -COPY --from=build /Open-IM-Serverscript /Open-IM-Serverscript +COPY --from=build /Open-IM-Server/scripts /Open-IM-Serverscripts COPY --from=build /Open-IM-Server/bin /Open-IM-Server/bin -WORKDIR /Open-IM-Serverscript +WORKDIR /Open-IM-Server/scripts CMD ["./docker_start_all.sh"]