k8s_deploy

This commit is contained in:
wangchuxiao
2022-05-19 10:55:14 +08:00
parent 267b3a9547
commit ab06eaeca8
17 changed files with 60 additions and 17 deletions
@@ -1,7 +1,7 @@
FROM ubuntu
# 设置固定的项目路径
ENV WORKDIR /bin
ENV WORKDIR /Open-IM-Server
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
@@ -11,5 +11,8 @@ ADD ./open_im_msg_gateway $WORKDIR/main
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config","/Open-IM-Server/script","/Open-IM-Server/db/sdk"]
WORKDIR $WORKDIR
CMD ./main