Skip to content

Commit

Permalink
reduce the size of Docker image (pytorch#1729)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngimel authored and soumith committed Jun 5, 2017
1 parent c357ebd commit 3716286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ COPY . .

RUN TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1+PTX" TORCH_NVCC_FLAGS="-Xfatbin -compress-all" \
CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" \
python setup.py install
pip install -v .

WORKDIR /workspace
RUN chmod -R a+w /workspace

0 comments on commit 3716286

Please sign in to comment.