Spaces:
Sleeping
Sleeping
vukadinovic936
commited on
Commit
•
c37bb91
1
Parent(s):
1e1e682
wa
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -3,9 +3,11 @@ FROM tensorflow/tensorflow:1.14.0-gpu-py3
|
|
3 |
# Copy requirements first for efficient caching
|
4 |
COPY requirements.txt ./
|
5 |
|
|
|
|
|
|
|
6 |
# Update and install system dependencies
|
7 |
-
RUN
|
8 |
-
&& apt-get update -o Acquire::AllowInsecureRepositories=true \
|
9 |
&& apt-get install -y libglib2.0-0 libgl1-mesa-glx ffmpeg \
|
10 |
&& apt-get clean \
|
11 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
3 |
# Copy requirements first for efficient caching
|
4 |
COPY requirements.txt ./
|
5 |
|
6 |
+
# dont update nvidia
|
7 |
+
RUN sed -i '/nvidia/d' /etc/apt/sources.list
|
8 |
+
|
9 |
# Update and install system dependencies
|
10 |
+
RUN apt-get update -o Acquire::AllowInsecureRepositories=true \
|
|
|
11 |
&& apt-get install -y libglib2.0-0 libgl1-mesa-glx ffmpeg \
|
12 |
&& apt-get clean \
|
13 |
&& rm -rf /var/lib/apt/lists/*
|