Docker Submodule Fixes

Adding proper support for the submodules so that Horde Bridges work correctly.
This commit is contained in:
Henk
2023-01-05 21:34:11 +01:00
parent 9b9ff307e7
commit 482e8152b4
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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