Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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
|
| 26 |
-
RUN pip install protobuf==3.
|
| 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 |
|