Camil Ziane
commited on
Commit
•
c5c7f9e
1
Parent(s):
b5aedd3
init space
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -6,10 +6,13 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
9 |
-
|
|
|
|
|
10 |
|
11 |
RUN pip install --upgrade pip # enable PEP 660 support
|
12 |
RUN pip install -e .
|
13 |
-
|
|
|
14 |
|
15 |
CMD ["python", "tinyllava/serve/app.py", "--model-path", "./tiny-llava-OpenELM-270M-Instruct-aimv2-large-patch14-224-distilled-elm_lora-finetune", "--port", "7860"]
|
|
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
9 |
+
RUN git clone https://huggingface.co/zcamz/tiny-llava-OpenELM-270M-Instruct-aimv2-large-patch14-224-distilled-elm_lora-finetune
|
10 |
+
|
11 |
+
COPY --chown=user TinyLLaVA_Factory/pyproject.toml /app
|
12 |
|
13 |
RUN pip install --upgrade pip # enable PEP 660 support
|
14 |
RUN pip install -e .
|
15 |
+
|
16 |
+
COPY --chown=user TinyLLaVA_Factory/ /app
|
17 |
|
18 |
CMD ["python", "tinyllava/serve/app.py", "--model-path", "./tiny-llava-OpenELM-270M-Instruct-aimv2-large-patch14-224-distilled-elm_lora-finetune", "--port", "7860"]
|