fix: docker file fix (#692)

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/701/head
Xinwei Xiong 2 years ago committed by GitHub
parent e7040d3b26
commit 8979b9dce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,8 +22,8 @@ RUN /bin/sh -c "make build"
# Production Stage # Production Stage
FROM alpine FROM alpine
RUN apk --no-cache add tzdata; \ RUN echo "https://mirrors.aliyun.com/alpine/v3.4/main" > /etc/apk/repositories && \
apt --no-cache add ca-certificates apk --no-cache add tzdata ca-certificates
# Set directory to map logs, config files, scripts, and SDK # 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"] VOLUME ["/Open-IM-Server/logs", "/Open-IM-Server/config", "/Open-IM-Server/scripts", "/Open-IM-Server/db/sdk"]

Loading…
Cancel
Save