Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
# Use the official Python 3.10 image from the Docker Hub
|
2 |
FROM python:3.10
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
# Create a new user and set permissions
|
5 |
RUN useradd -m -u 1000 user
|
6 |
USER user
|
|
|
1 |
# Use the official Python 3.10 image from the Docker Hub
|
2 |
FROM python:3.10
|
3 |
|
4 |
+
# Install necessary system dependencies
|
5 |
+
RUN apt-get update && apt-get install -y \
|
6 |
+
libgl1-mesa-glx \
|
7 |
+
&& rm -rf /var/lib/apt/lists/*
|
8 |
+
|
9 |
# Create a new user and set permissions
|
10 |
RUN useradd -m -u 1000 user
|
11 |
USER user
|