Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
ffmpeg \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
-
# Set environment variables for protobuf (to avoid
|
| 14 |
ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
| 15 |
|
| 16 |
# Set the working directory in the container
|
|
@@ -28,6 +28,9 @@ RUN pip install protobuf==3.19.4
|
|
| 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 |
|
|
|
|
| 10 |
ffmpeg \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
+
# Set environment variables for protobuf (to avoid version conflicts)
|
| 14 |
ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
| 15 |
|
| 16 |
# Set the working directory in the container
|
|
|
|
| 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 |
|