Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
@@ -1,8 +1,15 @@
|
|
1 |
FROM python:3.9.13
|
2 |
USER root
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
RUN useradd -m -u 1000 user
|
5 |
USER user
|
|
|
6 |
ENV HOME=/home/user \
|
7 |
PATH=/home/user/.local/bin:$PATH
|
8 |
|
|
|
1 |
FROM python:3.9.13
|
2 |
USER root
|
3 |
|
4 |
+
RUN apt-get update && \
|
5 |
+
apt-get install -y --no-install-recommends \
|
6 |
+
libgl1-mesa-glx \
|
7 |
+
&& \
|
8 |
+
rm -rf /var/lib/apt/lists/*
|
9 |
+
|
10 |
RUN useradd -m -u 1000 user
|
11 |
USER user
|
12 |
+
|
13 |
ENV HOME=/home/user \
|
14 |
PATH=/home/user/.local/bin:$PATH
|
15 |
|