unknown commited on
Commit
9ad39b3
1 Parent(s): c1cf8a7
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -17,11 +17,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
17
 
18
  # Set up a new user named "user" with user ID 1000
19
  RUN useradd -m -u 1000 user
20
- # Switch to the "user" user
21
  USER user
22
- # Set home to the user's home directory
23
- ENV HOME=/home/user \\
24
- PATH=/home/user/.local/bin:$PATH
25
 
26
  # Set the working directory to the user's home directory
27
  WORKDIR $HOME/app
 
17
 
18
  # Set up a new user named "user" with user ID 1000
19
  RUN useradd -m -u 1000 user
 
20
  USER user
21
+ ENV HOME=/home/user
22
+ ENV PATH=/home/user/.local/bin:$PATH
 
23
 
24
  # Set the working directory to the user's home directory
25
  WORKDIR $HOME/app