Spaces:
Running
on
Zero
Running
on
Zero
Update Dockerfile
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
|
@@ -75,13 +75,6 @@ RUN ldconfig && echo "Testing CuDNN installation..." \
|
|
| 75 |
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2; \
|
| 76 |
fi
|
| 77 |
|
| 78 |
-
# Switch back to the user
|
| 79 |
-
USER user
|
| 80 |
-
|
| 81 |
-
# Configure git to trust the directory and set ownership
|
| 82 |
-
RUN git config --global --add safe.directory /home/user/app
|
| 83 |
-
RUN chown -R user:user /home/user/app
|
| 84 |
-
|
| 85 |
USER user
|
| 86 |
|
| 87 |
# Set the environment variable to specify the GPU device
|
|
|
|
| 75 |
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2; \
|
| 76 |
fi
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
USER user
|
| 79 |
|
| 80 |
# Set the environment variable to specify the GPU device
|