ahmedzein commited on
Commit
68d4013
·
verified ·
1 Parent(s): 02c6645

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -7
Dockerfile CHANGED
@@ -1,15 +1,13 @@
1
  # Use the official Python 3.10.9 image
2
- FROM python
3
-
4
- RUN whoami
5
- USER root
6
 
7
  WORKDIR /usr/src/app
8
- # RUN adduser -D dockuser
9
 
10
- RUN apt-get update && apt-get install -y libgl1-mesa-glx
 
 
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