silaseic commited on
Commit
3c1fa7f
1 Parent(s): dfefb97

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -12,15 +12,16 @@ RUN apt-get update && apt-get install -y tzdata
12
  RUN dpkg-reconfigure --frontend noninteractive tzdata
13
 
14
  # Install Python and other dependencies
15
- RUN apt-get update && apt-get install -y python3 python3-pip libgl1-mesa-glx
16
 
17
  # Install the libglib2.0-0 package
 
18
  RUN apt-get update && apt-get install -y libglib2.0-0
19
 
20
  # Install the Python dependencies
21
  WORKDIR /code
22
  COPY ./requirements.txt /code/requirements.txt
23
- RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
24
 
25
  # Set up a new user named "user" with user ID 1000
26
  RUN useradd -m -u 1000 user
 
12
  RUN dpkg-reconfigure --frontend noninteractive tzdata
13
 
14
  # Install Python and other dependencies
15
+ # RUN apt-get update && apt-get install -y python3 python3-pip
16
 
17
  # Install the libglib2.0-0 package
18
+ RUN apt-get update && apt-get install -y libgl1-mesa-glx
19
  RUN apt-get update && apt-get install -y libglib2.0-0
20
 
21
  # Install the Python dependencies
22
  WORKDIR /code
23
  COPY ./requirements.txt /code/requirements.txt
24
+ RUN python3.9 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
25
 
26
  # Set up a new user named "user" with user ID 1000
27
  RUN useradd -m -u 1000 user