Spaces:
Running
on
T4
Running
on
T4
oceansweep
commited on
Commit
•
1f81d1a
1
Parent(s):
8d3b0d0
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu22.04
|
2 |
|
3 |
# Set up a new user named "user" with user ID 1099
|
4 |
-
RUN useradd -m -u 1099 user
|
5 |
|
6 |
# Update packages
|
7 |
RUN apt-get update && apt-get install -y \
|
@@ -24,6 +24,8 @@ ENV PYTHONUNBUFFERED=1 \
|
|
24 |
TRANSFORMERS_CACHE=/dev/shm \
|
25 |
GRADIO_ANALYTICS_ENABLED=False
|
26 |
|
|
|
|
|
27 |
WORKDIR /home/user/app
|
28 |
|
29 |
# Set up CUDA libraries
|
|
|
1 |
FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu22.04
|
2 |
|
3 |
# Set up a new user named "user" with user ID 1099
|
4 |
+
#RUN useradd -m -u 1099 user
|
5 |
|
6 |
# Update packages
|
7 |
RUN apt-get update && apt-get install -y \
|
|
|
24 |
TRANSFORMERS_CACHE=/dev/shm \
|
25 |
GRADIO_ANALYTICS_ENABLED=False
|
26 |
|
27 |
+
RUN ls && whoami && pwd
|
28 |
+
|
29 |
WORKDIR /home/user/app
|
30 |
|
31 |
# Set up CUDA libraries
|