Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
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
|