sourize commited on
Commit
69cc47b
·
1 Parent(s): 76ff0da

Updated Code

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -47,10 +47,11 @@ RUN mkdir -p /tmp/manimate/output \
47
  # Copy requirements first to leverage Docker cache
48
  COPY requirements.txt .
49
 
50
- # Install Python dependencies with specific versions
51
- RUN pip install --no-cache-dir -r requirements.txt \
52
- && pip install --no-cache-dir streamlit==1.28.0 \
53
- && pip cache purge
 
54
 
55
  # Copy the rest of the application
56
  COPY . .
 
47
  # Copy requirements first to leverage Docker cache
48
  COPY requirements.txt .
49
 
50
+ # Upgrade pip and install Python dependencies
51
+ RUN python -m pip install --no-cache-dir --upgrade pip && \
52
+ pip install --no-cache-dir -r requirements.txt && \
53
+ pip install --no-cache-dir streamlit==1.28.0 && \
54
+ pip cache purge
55
 
56
  # Copy the rest of the application
57
  COPY . .