Skip to content

Commit 85ac272

Browse files
mohanasrafacebook-github-bot
authored andcommitted
Update Docker file section in README.md (pytorch#16812)
Summary: Emphasize on the fact that docker build should be triggered from pytorch repo directory. Pull Request resolved: pytorch#16812 Differential Revision: D13985531 Pulled By: soumith fbshipit-source-id: c6511d1e81476eb795b37fb0ad23e8951dbca617
1 parent 49443d4 commit 85ac272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ python setup.py install
199199

200200
### Docker Image
201201

202-
Dockerfile is supplied to build images with cuda support and cudnn v7. You can pass `-e PYTHON_VERSION=x.y` flag to specify which Python version is to be used by Miniconda, or leave it unset to use the default. Build as usual
202+
Dockerfile is supplied to build images with cuda support and cudnn v7. You can pass `-e PYTHON_VERSION=x.y` flag to specify which Python version is to be used by Miniconda, or leave it unset to use the default. Build from pytorch repo directory as docker needs to copy git repo into docker filesystem while building the image.
203203
```
204204
docker build -t pytorch -f docker/pytorch/Dockerfile .
205205
```

0 commit comments

Comments
 (0)