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