gfjiogopdfgdfs
commited on
Update Dockerfile
Browse files- 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
|
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 |
-
|
23 |
-
|
24 |
-
RUN
|
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
|
|
|
|
|
|