glenn-jocher
commited on
FROM nvcr.io/nvidia/pytorch:20.12-py3 (#1763)
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
|
2 |
-
FROM nvcr.io/nvidia/pytorch:20.
|
3 |
|
4 |
# Install linux packages
|
5 |
-
RUN apt update && apt install -y screen
|
6 |
|
7 |
# Install python dependencies
|
8 |
RUN pip install --upgrade pip
|
9 |
-
|
10 |
-
|
11 |
RUN pip install gsutil
|
12 |
|
13 |
# Create working directory
|
|
|
1 |
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
|
2 |
+
FROM nvcr.io/nvidia/pytorch:20.12-py3
|
3 |
|
4 |
# Install linux packages
|
5 |
+
RUN apt update && apt install -y screen libgl1-mesa-glx
|
6 |
|
7 |
# Install python dependencies
|
8 |
RUN pip install --upgrade pip
|
9 |
+
COPY requirements.txt .
|
10 |
+
RUN pip install -r requirements.txt
|
11 |
RUN pip install gsutil
|
12 |
|
13 |
# Create working directory
|