Spaces:
Running
Running
oceansweep
commited on
Commit
•
eb0de88
1
Parent(s):
18cae46
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu22.04
|
2 |
|
3 |
-
ARG DEBIAN_FRONTEND=noninteractive
|
4 |
-
|
5 |
# Set up a new user named "user" with user ID 1099
|
6 |
RUN useradd -m -u 1099 user
|
7 |
|
@@ -42,8 +40,10 @@ RUN chmod -R 777 /home/user/app/*
|
|
42 |
# Create necessary directories and set permissions
|
43 |
RUN mkdir -p /home/user/app/Results/Audio_Processing /app/Results/Video_Downloads
|
44 |
|
|
|
|
|
45 |
# Switch to the "user" user
|
46 |
-
USER user
|
47 |
|
48 |
# Set home to the user's home directory
|
49 |
ENV HOME=/home/user \
|
|
|
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 |
|
|
|
40 |
# Create necessary directories and set permissions
|
41 |
RUN mkdir -p /home/user/app/Results/Audio_Processing /app/Results/Video_Downloads
|
42 |
|
43 |
+
RUN pip3 install --no-cache-dir --upgrade -r /home/user/app/requirements.txt
|
44 |
+
|
45 |
# Switch to the "user" user
|
46 |
+
#USER user
|
47 |
|
48 |
# Set home to the user's home directory
|
49 |
ENV HOME=/home/user \
|