willco-afk commited on
Commit
a97f268
·
verified ·
1 Parent(s): 315adb8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -22,15 +22,12 @@ RUN pip install --upgrade pip
22
  # Copy your requirements.txt into the container
23
  COPY requirements.txt .
24
 
25
- # Install specific version of protobuf to avoid issues with TensorFlow
26
- RUN pip install protobuf==3.20.0
27
 
28
  # Install Python dependencies from requirements.txt
29
  RUN pip install --no-cache-dir -r requirements.txt
30
 
31
- # Install streamlit and other needed packages
32
- RUN pip install streamlit
33
-
34
  # Copy the rest of the application code into the container
35
  COPY . .
36
 
 
22
  # Copy your requirements.txt into the container
23
  COPY requirements.txt .
24
 
25
+ # Install a compatible version of protobuf (3.19.x)
26
+ RUN pip install protobuf==3.19.4
27
 
28
  # Install Python dependencies from requirements.txt
29
  RUN pip install --no-cache-dir -r requirements.txt
30
 
 
 
 
31
  # Copy the rest of the application code into the container
32
  COPY . .
33