Swapnil-101 commited on
Commit
033feb2
·
verified ·
1 Parent(s): 5a432d9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -1,7 +1,5 @@
1
  FROM python:3.9
2
 
3
- RUN pwd && ls -l
4
-
5
  # Create a user with UID 1000
6
  RUN useradd -m -u 1000 user
7
 
@@ -31,7 +29,7 @@ RUN touch $HOME/users.db && chmod 777 $HOME/users.db
31
  RUN chown user:user $HOME/mentor.txt $HOME/temp_mentor.txt
32
 
33
  # Move main.py to the working directory
34
- RUN mv $HOME/app/main.py $HOME
35
 
36
  # Switch back to the user
37
  USER user
 
1
  FROM python:3.9
2
 
 
 
3
  # Create a user with UID 1000
4
  RUN useradd -m -u 1000 user
5
 
 
29
  RUN chown user:user $HOME/mentor.txt $HOME/temp_mentor.txt
30
 
31
  # Move main.py to the working directory
32
+ RUN mv ./main.py $HOME
33
 
34
  # Switch back to the user
35
  USER user