This commit is contained in:
wangchuxiao
2022-05-30 20:15:17 +08:00
parent 38bd2bd011
commit 1edaf15220
19 changed files with 40 additions and 0 deletions
@@ -4,9 +4,12 @@ FROM ubuntu
ENV WORKDIR /Open-IM-Server
ENV CONFIG_NAME $WORKDIR/config/config.yaml
RUN mkdir $WORKDIR/cmd
# 将可执行文件复制到目标目录
ADD ./open_im_organization $WORKDIR/cmd/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/script && \
chmod +x $WORKDIR/cmd/main