Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
# Use the official Python 3.9 image
|
| 2 |
FROM python:3.9
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Set the working directory to /code
|
| 5 |
WORKDIR /code
|
|
|
|
| 1 |
# Use the official Python 3.9 image
|
| 2 |
FROM python:3.9
|
| 3 |
+
# Install necessary system dependencies, including OpenGL libraries
|
| 4 |
+
RUN apt-get update \
|
| 5 |
+
&& apt-get install -y libgl1-mesa-glx \
|
| 6 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
# Set the working directory to /code
|
| 9 |
WORKDIR /code
|