darylfunggg commited on
Commit
6db8931
1 Parent(s): 21dae18

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,5 +1,8 @@
1
  FROM python:3.7.17
2
 
 
 
 
3
  # Set up a new user named "user" with user ID 1000
4
  RUN useradd -m -u 1000 user
5
 
@@ -13,9 +16,6 @@ ENV HOME=/home/user \
13
  # Set the working directory to the user's home directory
14
  WORKDIR $HOME/app
15
 
16
- RUN apt-get -y update
17
- RUN apt-get install ffmpeg libsm6 libxext6 -y
18
-
19
 
20
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
21
  RUN pip install --no-cache-dir --upgrade pip
 
1
  FROM python:3.7.17
2
 
3
+ RUN apt-get -y update
4
+ RUN apt-get install ffmpeg libsm6 libxext6 -y
5
+
6
  # Set up a new user named "user" with user ID 1000
7
  RUN useradd -m -u 1000 user
8
 
 
16
  # Set the working directory to the user's home directory
17
  WORKDIR $HOME/app
18
 
 
 
 
19
 
20
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
21
  RUN pip install --no-cache-dir --upgrade pip