sanket891 commited on
Commit
f9095b0
1 Parent(s): ea20da8

Upload 3 files

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -14,11 +14,11 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
14
  RUN useradd user
15
 
16
  #switch the user to user
17
- RUN user
18
 
19
  #set home to the user home directory
20
  ENV HOME=/home/user \
21
- PATH=/HOME/user/.local/bin:$PATH
22
 
23
  ##update working dir
24
  WORKDIR $HOME/app
 
14
  RUN useradd user
15
 
16
  #switch the user to user
17
+ USER user
18
 
19
  #set home to the user home directory
20
  ENV HOME=/home/user \
21
+ PATH=/home/user/.local/bin:$PATH
22
 
23
  ##update working dir
24
  WORKDIR $HOME/app