Spaces:
Running
Running
oceansweep
commited on
Commit
•
9d612a7
1
Parent(s):
963f7fd
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -26,7 +26,7 @@ COPY ./requirements.txt /code/requirements.txt
|
|
26 |
RUN export LD_LIBRARY_PATH=`python3 -c 'import os; import nvidia.cublas.lib; import nvidia.cudnn.lib; import torch; print(os.path.dirname(nvidia.cublas.lib.__file__) + ":" + os.path.dirname(nvidia.cudnn.lib.__file__) + ":" + os.path.dirname(torch.__file__) +"/lib")'`:$LD_LIBRARY_PATH
|
27 |
|
28 |
# Set up a new user named "user" with user ID 1000
|
29 |
-
RUN useradd -m -u
|
30 |
# Switch to the "user" user
|
31 |
USER user
|
32 |
# Set home to the user's home directory
|
|
|
26 |
RUN export LD_LIBRARY_PATH=`python3 -c 'import os; import nvidia.cublas.lib; import nvidia.cudnn.lib; import torch; print(os.path.dirname(nvidia.cublas.lib.__file__) + ":" + os.path.dirname(nvidia.cudnn.lib.__file__) + ":" + os.path.dirname(torch.__file__) +"/lib")'`:$LD_LIBRARY_PATH
|
27 |
|
28 |
# Set up a new user named "user" with user ID 1000
|
29 |
+
RUN useradd -m -u 1099 user
|
30 |
# Switch to the "user" user
|
31 |
USER user
|
32 |
# Set home to the user's home directory
|