Skip to content

Commit

Permalink
Refactor Dockerfile to include a timeout for pip3 installation of PyT…
Browse files Browse the repository at this point in the history
…orch
  • Loading branch information
cbluebird committed Dec 10, 2024
1 parent 180f89d commit 74bf99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/pytorch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get update && \
. /root/.bashrc && \
conda create -y -n hello python=3.12 && \
conda activate hello && \
pip3 install torch torchvision torchaudio && \
pip3 install --timeout 10000 torch torchvision torchaudio && \
chown -R devbox:devbox /home/devbox/project && \
chmod -R u+rw /home/devbox/project && \
chmod -R +x /home/devbox/project/entrypoint.sh && \
Expand Down

0 comments on commit 74bf99c

Please sign in to comment.