Fix for KoboldAI Base Docker Image to work with Horde

This commit is contained in:
ebolam
2022-11-29 18:12:33 -05:00
parent 604b42d602
commit be5d7254ae

View File

@@ -5,6 +5,7 @@ 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;rm -rf ~/.cache/pip
copy ./KoboldAI-Horde /opt/koboldai/
RUN python3 -m venv /opt/koboldai/KoboldAI-Horde/venv
RUN /opt/koboldai/KoboldAI-Horde/venv/bin/pip install -r /opt/koboldai/KoboldAI-Horde/requirements.txt
ENV PATH=/opt/conda/bin/:$PATH