Spaces:
Sleeping
Sleeping
WebashalarForML
commited on
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.9
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
# Create a non-root user with a home directory
|
5 |
RUN useradd -m -u 1000 user
|
6 |
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.9
|
3 |
|
4 |
+
# Install required 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 non-root user with a home directory
|
10 |
RUN useradd -m -u 1000 user
|
11 |
|