oceansweep
commited on
Commit
•
91ab082
1
Parent(s):
7470950
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -38,13 +38,14 @@ WORKDIR /home/user/app
|
|
38 |
# Set up CUDA libraries
|
39 |
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
|
40 |
|
41 |
-
COPY ./requirements.txt /home/user/app/requirements.txt
|
42 |
-
|
43 |
-
RUN pip3 install --no-cache-dir --upgrade -r .requirements.txt
|
44 |
|
45 |
# Copy the current directory contents into the container at /app
|
46 |
COPY --chown=user . $HOME/app
|
47 |
|
|
|
|
|
|
|
|
|
48 |
# Create necessary directories and set permissions
|
49 |
RUN mkdir -p /home/user/app/Results/Audio_Processing /app/Results/Video_Downloads
|
50 |
|
|
|
38 |
# Set up CUDA libraries
|
39 |
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
|
40 |
|
|
|
|
|
|
|
41 |
|
42 |
# Copy the current directory contents into the container at /app
|
43 |
COPY --chown=user . $HOME/app
|
44 |
|
45 |
+
COPY ./requirements.txt /home/user/app/requirements.txt
|
46 |
+
|
47 |
+
RUN pip3 install --no-cache-dir --upgrade -r .requirements.txt
|
48 |
+
|
49 |
# Create necessary directories and set permissions
|
50 |
RUN mkdir -p /home/user/app/Results/Audio_Processing /app/Results/Video_Downloads
|
51 |
|