Skip to content

Commit

Permalink
fix: chat scripts config
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
  • Loading branch information
cubxxw committed Jul 29, 2023
1 parent db69115 commit 3f3135b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ COPY --from=builder /workspace/config/config.yaml $WORKDIR/config/config.yaml
RUN mkdir $WORKDIR/logs && \
chmod +x $WORKDIR/bin/open_im_admin $WORKDIR/bin/open_im_chat $WORKDIR/bin/open_im_admin_api $WORKDIR/bin/open_im_chat_api
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
&& apt-get -qq install -y --no-install-recommends ca-certificates curl bash

VOLUME ["/chat/logs","/chat/config","/chat/scripts"]

Expand Down
6 changes: 5 additions & 1 deletion scripts/docker_start_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@
# limitations under the License.

OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..

SCRIPTS_ROOT=$OPENIM_ROOT/scripts
cd $SCRIPTS_ROOT

chmod +x ./*.sh
./start_all.sh

$OPENIM_ROOT/scripts/start_all.sh
i=1
while ((i == 1))
do
Expand Down

0 comments on commit 3f3135b

Please sign in to comment.