gfjiogopdfgdfs commited on
Commit
fb61f9e
·
verified ·
1 Parent(s): 281f7a5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -15
Dockerfile CHANGED
@@ -9,19 +9,9 @@ ARG MODEL_PART_A
9
  ARG MODEL_PART_B
10
  ARG MODEL_NAME
11
  ARG ADDITIONAL
12
- RUN mkdir /opt/kobold
13
- RUN git clone https://github.com/0cc4m/KoboldAI -b latestgptq --recurse-submodules /opt/koboldcpp
14
-
15
- # Copy the install_requirements.sh script from your build context into the container
16
- # Make sure the script is in the same directory as your Dockerfile or in the build context
17
- COPY install_requirements.sh /opt/kobold/
18
-
19
- # Set the working directory to /opt/kobold
20
  WORKDIR /opt/kobold
21
-
22
- # Make the script executable and run it
23
- RUN chmod +x install_requirements.sh
24
- RUN ./install_requirements.sh cuda
25
-
26
- # Define the command to run when the container starts
27
- CMD ./play.sh
 
9
  ARG MODEL_PART_B
10
  ARG MODEL_NAME
11
  ARG ADDITIONAL
12
+ RUN git clone https://github.com/theroyallab/tabbyAPI
 
 
 
 
 
 
 
13
  WORKDIR /opt/kobold
14
+ RUN pip install -r requirements.txt -q
15
+ RUN pip install huggingface-hub -q
16
+ WORKDIR /content/tabbyAPI/
17
+ RUN python main.py