From 482e8152b4c9385f9859c0b2f347efb89633b2fd Mon Sep 17 00:00:00 2001 From: Henk Date: Thu, 5 Jan 2023 21:34:11 +0100 Subject: [PATCH] Docker Submodule Fixes Adding proper support for the submodules so that Horde Bridges work correctly. --- docker-standalone/Dockerfile | 2 +- docker-standalone/docker-helper.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-standalone/Dockerfile b/docker-standalone/Dockerfile index 55e80b9f..185fd3a6 100644 --- a/docker-standalone/Dockerfile +++ b/docker-standalone/Dockerfile @@ -1,6 +1,6 @@ FROM debian RUN apt update && apt install wget aria2 git bzip2 -y -RUN git clone https://github.com/henk717/koboldai /opt/koboldai +RUN git clone --recursive https://github.com/henk717/koboldai /opt/koboldai WORKDIR /opt/koboldai RUN ./install_requirements.sh cuda COPY docker-helper.sh /opt/koboldai/docker-helper.sh diff --git a/docker-standalone/docker-helper.sh b/docker-standalone/docker-helper.sh index ae334938..c69703de 100755 --- a/docker-standalone/docker-helper.sh +++ b/docker-standalone/docker-helper.sh @@ -3,6 +3,7 @@ cd /opt/koboldai if [[ -n update ]];then git pull --recurse-submodules && ./install_requirements.sh cuda + git submodule update --init --recursive fi if [[ ! -v KOBOLDAI_DATADIR ]];then