Update Dockerfile
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -1,15 +1,13 @@
|
|
1 |
# Use the official Python 3.10.9 image
|
2 |
-
FROM
|
3 |
-
|
4 |
-
RUN whoami
|
5 |
-
USER root
|
6 |
|
7 |
WORKDIR /usr/src/app
|
8 |
-
# RUN adduser -D dockuser
|
9 |
|
10 |
-
RUN apt-get update
|
|
|
|
|
11 |
|
12 |
-
COPY requirements.txt
|
13 |
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
|
|
1 |
# Use the official Python 3.10.9 image
|
2 |
+
FROM ubuntu
|
|
|
|
|
|
|
3 |
|
4 |
WORKDIR /usr/src/app
|
|
|
5 |
|
6 |
+
RUN apt-get update
|
7 |
+
RUN apt-get install -y libgl1-mesa-glx
|
8 |
+
RUN sudo apt install python3-pip
|
9 |
|
10 |
+
COPY requirements.txt .
|
11 |
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|