|
|
@ -23,7 +23,7 @@ RUN /bin/sh -c "make build"
|
|
|
|
FROM alpine
|
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
|
|
|
|
RUN echo "https://mirrors.aliyun.com/alpine/v3.4/main" > /etc/apk/repositories && \
|
|
|
|
RUN echo "https://mirrors.aliyun.com/alpine/v3.4/main" > /etc/apk/repositories && \
|
|
|
|
apk --no-cache add tzdata ca-certificates
|
|
|
|
apk --no-cache add tzdata ca-certificates bash
|
|
|
|
|
|
|
|
|
|
|
|
# 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"]
|
|
|
@ -34,4 +34,4 @@ COPY --from=builder /Open-IM-Server/_output/bin/platforms/linux/amd64 /Open-IM-S
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /Open-IM-Server/scripts
|
|
|
|
WORKDIR /Open-IM-Server/scripts
|
|
|
|
|
|
|
|
|
|
|
|
CMD ["docker_start_all.sh"]
|
|
|
|
CMD ["./docker_start_all.sh"]
|