Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
FROM python:3.10
|
2 |
|
3 |
# Create a user
|
4 |
-
RUN useradd -ms /bin/bash
|
5 |
|
6 |
# Switch to the user
|
7 |
USER user
|
8 |
# Copy the launch.py file to the container
|
9 |
-
COPY * /home/user/
|
10 |
|
11 |
# Set the working directory
|
12 |
-
WORKDIR /home/user
|
13 |
|
14 |
# Execute the launch.py script
|
15 |
CMD ["python", "launch.py", "--skip-torch-cuda-test", "--use-cpu", "all"]
|
|
|
1 |
FROM python:3.10
|
2 |
|
3 |
# Create a user
|
4 |
+
#RUN useradd -ms /bin/bash user
|
5 |
|
6 |
# Switch to the user
|
7 |
USER user
|
8 |
# Copy the launch.py file to the container
|
9 |
+
#COPY * /home/user/
|
10 |
|
11 |
# Set the working directory
|
12 |
+
#WORKDIR /home/user
|
13 |
|
14 |
# Execute the launch.py script
|
15 |
CMD ["python", "launch.py", "--skip-torch-cuda-test", "--use-cpu", "all"]
|