Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -3,7 +3,11 @@ FROM python:3.11-slim
|
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
# Add this line to install libgl1
|
| 6 |
-
RUN apt-get update && apt-get install -y
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
# Add this line to install libgl1
|
| 6 |
+
RUN apt-get update && apt-get install -y \
|
| 7 |
+
libgl1 \
|
| 8 |
+
libglib2.0-0 \
|
| 9 |
+
&& apt-get clean
|
| 10 |
+
|
| 11 |
|
| 12 |
COPY requirements.txt .
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|