From 00b07c2188689238613562d2c857a21f91c25bcc Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Fri, 14 Jul 2023 15:30:04 +0800 Subject: [PATCH] fix: docker images fix Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a4bd2b88d..33c4651c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,9 @@ ADD . . RUN /bin/sh -c "make build" # Production Stage -FROM debian +FROM alpine -RUN apt-get update && apt-get install -y tzdata +RUN apk --no-cache add tzdata # Set directory to map logs, config files, scripts, and SDK VOLUME ["/Open-IM-Server/logs", "/Open-IM-Server/config", "/Open-IM-Server/scripts", "/Open-IM-Server/db/sdk"] @@ -33,4 +33,4 @@ COPY --from=builder /Open-IM-Server/_output/bin/platforms/linux/amd64 /Open-IM-S WORKDIR /Open-IM-Server/scripts -CMD ["./docker_start_all.sh"] \ No newline at end of file +CMD ["docker_start_all.sh"] \ No newline at end of file