Spaces:
Sleeping
Sleeping
Update Dockerfile for libGL missing
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,11 @@ FROM python:3.12
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the requirements.txt file into the container
|
| 8 |
COPY requirements.txt /app/requirements.txt
|
| 9 |
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Install system dependencies
|
| 8 |
+
RUN apt-get update && apt-get install -y \
|
| 9 |
+
libgl1-mesa-glx \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
+
|
| 12 |
# Copy the requirements.txt file into the container
|
| 13 |
COPY requirements.txt /app/requirements.txt
|
| 14 |
|