diff --git a/community/samples/serving/helloworld-rust/Dockerfile b/community/samples/serving/helloworld-rust/Dockerfile index 258d6983f..ce33a4092 100644 --- a/community/samples/serving/helloworld-rust/Dockerfile +++ b/community/samples/serving/helloworld-rust/Dockerfile @@ -1,13 +1,13 @@ # Use the official Rust image. # https://hub.docker.com/_/rust -FROM rust:1.27.0 +FROM rust:1.50.0 # Copy local code to the container image. WORKDIR /usr/src/app COPY . . # Install production dependencies and build a release artifact. -RUN cargo install +RUN cargo install --path . # Run the web service on container startup. CMD ["hellorust"]