|
|
@ -9,7 +9,7 @@ WORKDIR /Open-IM-Server
|
|
|
|
# add all files to the container
|
|
|
|
# add all files to the container
|
|
|
|
COPY . .
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /Open-IM-Serverscript
|
|
|
|
WORKDIR /Open-IM-Server/scripts
|
|
|
|
RUN chmod +x *.sh
|
|
|
|
RUN chmod +x *.sh
|
|
|
|
|
|
|
|
|
|
|
|
RUN /bin/sh -c ./build_all_service.sh
|
|
|
|
RUN /bin/sh -c ./build_all_service.sh
|
|
|
@ -31,7 +31,7 @@ RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure
|
|
|
|
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"]
|
|
|
|
|
|
|
|
|
|
|
|
#Copy scripts files and binary files to the blank image
|
|
|
|
#Copy scripts files and binary files to the blank image
|
|
|
|
COPY --from=build /Open-IM-Server/scripts /Open-IM-Serverscripts
|
|
|
|
COPY --from=build /Open-IM-Server/scripts /Open-IM-Server/scripts
|
|
|
|
COPY --from=build /Open-IM-Server/bin /Open-IM-Server/bin
|
|
|
|
COPY --from=build /Open-IM-Server/bin /Open-IM-Server/bin
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /Open-IM-Server/scripts
|
|
|
|
WORKDIR /Open-IM-Server/scripts
|
|
|
|