Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -20,13 +20,13 @@ RUN apt-get update && apt-get install -y \
|
|
| 20 |
# Upgrade pip
|
| 21 |
RUN pip install --no-cache-dir --upgrade pip
|
| 22 |
|
| 23 |
-
# Install
|
|
|
|
|
|
|
|
|
|
| 24 |
COPY requirements.txt .
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 26 |
|
| 27 |
-
# Install LLaVA from GitHub
|
| 28 |
-
RUN pip install --no-cache-dir git+https://github.com/haotian-liu/LLaVA.git
|
| 29 |
-
|
| 30 |
# Copy app files
|
| 31 |
COPY . .
|
| 32 |
|
|
|
|
| 20 |
# Upgrade pip
|
| 21 |
RUN pip install --no-cache-dir --upgrade pip
|
| 22 |
|
| 23 |
+
# Install LLaVA from GitHub first
|
| 24 |
+
RUN pip install --no-cache-dir git+https://github.com/haotian-liu/LLaVA.git
|
| 25 |
+
|
| 26 |
+
# Copy and install dependencies
|
| 27 |
COPY requirements.txt .
|
| 28 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 29 |
|
|
|
|
|
|
|
|
|
|
| 30 |
# Copy app files
|
| 31 |
COPY . .
|
| 32 |
|