mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Docker Submodule Fixes
Adding proper support for the submodules so that Horde Bridges work correctly.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
FROM debian
|
FROM debian
|
||||||
RUN apt update && apt install wget aria2 git bzip2 -y
|
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
|
WORKDIR /opt/koboldai
|
||||||
RUN ./install_requirements.sh cuda
|
RUN ./install_requirements.sh cuda
|
||||||
COPY docker-helper.sh /opt/koboldai/docker-helper.sh
|
COPY docker-helper.sh /opt/koboldai/docker-helper.sh
|
||||||
|
@@ -3,6 +3,7 @@ cd /opt/koboldai
|
|||||||
|
|
||||||
if [[ -n update ]];then
|
if [[ -n update ]];then
|
||||||
git pull --recurse-submodules && ./install_requirements.sh cuda
|
git pull --recurse-submodules && ./install_requirements.sh cuda
|
||||||
|
git submodule update --init --recursive
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -v KOBOLDAI_DATADIR ]];then
|
if [[ ! -v KOBOLDAI_DATADIR ]];then
|
||||||
|
Reference in New Issue
Block a user