diff --git a/docker-standalone/Dockerfile.base b/docker-standalone/Dockerfile.base index 27e7fea2..fae1059f 100644 --- a/docker-standalone/Dockerfile.base +++ b/docker-standalone/Dockerfile.base @@ -4,8 +4,8 @@ COPY ./environments /opt/koboldai/environments COPY ./install_requirements.sh /opt/koboldai USER root RUN apt update && apt install wget aria2 git bzip2 python3 python3-venv -y -RUN ./install_requirements.sh cuda +RUN ./install_requirements.sh cuda;rm -rf ~/.cache/pip RUN python3 -m venv /opt/koboldai/KoboldAI-Horde/venv -COPY ./KoboldAI-Horde/requirements.txt /opt/koboldai/KoboldAI-Horde/ +RUN git clone https://github.com/db0/KoboldAI-Horde-Bridge /opt/koboldai/KoboldAI-Horde/ RUN /opt/koboldai/KoboldAI-Horde/venv/bin/pip install -r /opt/koboldai/KoboldAI-Horde/requirements.txt ENV PATH=/opt/conda/bin/:$PATH diff --git a/docker-standalone/Dockerfile.koboldai b/docker-standalone/Dockerfile.koboldai index b22abf84..40906ed4 100644 --- a/docker-standalone/Dockerfile.koboldai +++ b/docker-standalone/Dockerfile.koboldai @@ -6,4 +6,5 @@ ENV override_delete=true ENV override_rename=true ENV update=true COPY . /opt/koboldai +RUN git clone https://github.com/db0/KoboldAI-Horde-Bridge /opt/koboldai/KoboldAI-Horde/ CMD ./docker-standalone/docker-helper.sh \ No newline at end of file diff --git a/docker-standalone/docker-helper_new.sh b/docker-standalone/docker-helper_new.sh index 01827d20..70dc76b9 100644 --- a/docker-standalone/docker-helper_new.sh +++ b/docker-standalone/docker-helper_new.sh @@ -2,6 +2,9 @@ cd /opt/koboldai if [[ -n update ]];then git pull + cd KoboldAI-Horde/ + git pull + cd .. fi #The goal here is to allow any directory in /content to be mapped to the appropriate dir in the koboldai dir