nateraw commited on
Commit
e23c1de
·
1 Parent(s): 49e5186

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -6
Dockerfile CHANGED
@@ -72,18 +72,15 @@ RUN --mount=target=/root/packages.txt,source=packages.txt \
72
  RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
73
  bash /root/on_startup.sh
74
 
75
- # Install rust, add it to path
76
- RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
77
- ENV PATH="$HOME/.cargo/bin:${PATH}"
78
- RUN chmod -R 777 $HOME/.cargo/
79
-
80
  #######################################
81
  # End root user section
82
  #######################################
83
 
84
  USER user
85
 
86
- # Check rust perms
 
 
87
  RUN chmod -R 777 $HOME/.cargo/
88
 
89
  # Python packages
 
72
  RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
73
  bash /root/on_startup.sh
74
 
 
 
 
 
 
75
  #######################################
76
  # End root user section
77
  #######################################
78
 
79
  USER user
80
 
81
+ # Rust install
82
+ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
83
+ ENV PATH="$HOME/.cargo/bin:${PATH}"
84
  RUN chmod -R 777 $HOME/.cargo/
85
 
86
  # Python packages