diff --git a/Dockerfile b/Dockerfile
index 13870c6f39bb01b4060d9d04679b968e7d694e14..591e72318431984bf14d26cf411538b5cedb8d09 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,6 +32,5 @@ ENV PATH="${EMSDK}:${EMSDK}/upstream/emscripten:${PATH}"
 
 USER rustbuilder
 
-RUN rustup install nightly && \
-    rustup component add rust-src --toolchain nightly && \
+RUN rustup component add rust-src --toolchain nightly && \
     rustup target add wasm32-unknown-emscripten --toolchain nightly
\ No newline at end of file