101Frost commited on
Commit
36352d8
·
verified ·
1 Parent(s): 0a08aa7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 .