Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -15,10 +15,11 @@ COPY requirements.txt .
|
|
| 15 |
# Install other Python dependencies
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
| 18 |
-
# Clone and install MobileCLIP
|
| 19 |
RUN git clone https://github.com/apple/ml-mobileclip.git && \
|
| 20 |
cd ml-mobileclip && \
|
|
|
|
| 21 |
cd .. && \
|
|
|
|
| 22 |
|
| 23 |
# Copy application code
|
| 24 |
COPY app.py .
|
|
|
|
| 15 |
# Install other Python dependencies
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
|
|
|
| 18 |
RUN git clone https://github.com/apple/ml-mobileclip.git && \
|
| 19 |
cd ml-mobileclip && \
|
| 20 |
+
pip install -e . --no-deps && \
|
| 21 |
cd .. && \
|
| 22 |
+
rm -rf ml-mobileclip/.git
|
| 23 |
|
| 24 |
# Copy application code
|
| 25 |
COPY app.py .
|