mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Move horde bridge system requirements to base docker image
This commit is contained in:
@@ -3,6 +3,9 @@ WORKDIR /opt/koboldai
|
|||||||
COPY ./environments /opt/koboldai/environments
|
COPY ./environments /opt/koboldai/environments
|
||||||
COPY ./install_requirements.sh /opt/koboldai
|
COPY ./install_requirements.sh /opt/koboldai
|
||||||
USER root
|
USER root
|
||||||
RUN apt update && apt install wget aria2 git bzip2 -y
|
RUN apt update && apt install wget aria2 git bzip2 python3 python3-venv -y
|
||||||
RUN ./install_requirements.sh cuda
|
RUN ./install_requirements.sh cuda
|
||||||
|
RUN python3 -m venv /opt/koboldai/KoboldAI-Horde/venv
|
||||||
|
COPY ./KoboldAI-Horde/requirements.txt /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
|
ENV PATH=/opt/conda/bin/:$PATH
|
||||||
|
@@ -5,9 +5,5 @@ ENV quiet=true
|
|||||||
ENV override_delete=true
|
ENV override_delete=true
|
||||||
ENV override_rename=true
|
ENV override_rename=true
|
||||||
ENV update=true
|
ENV update=true
|
||||||
RUN apt-get install python3 python3-venv -y
|
|
||||||
RUN python3 -m venv /opt/koboldai/KoboldAI-Horde/venv
|
|
||||||
COPY ./KoboldAI-Horde/requirements.txt /opt/koboldai/KoboldAI-Horde/
|
|
||||||
RUN /opt/koboldai/KoboldAI-Horde/venv/bin/pip install -r /opt/koboldai/KoboldAI-Horde/requirements.txt
|
|
||||||
COPY . /opt/koboldai
|
COPY . /opt/koboldai
|
||||||
CMD ./docker-standalone/docker-helper.sh
|
CMD ./docker-standalone/docker-helper.sh
|
Reference in New Issue
Block a user