From a18ae28a3e76935d1aa3ff42226dce6489c8a57e Mon Sep 17 00:00:00 2001 From: Vann-Dev Date: Sat, 16 Dec 2023 09:31:03 +0700 Subject: [PATCH] fix: wrong rust version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84c447b..08d7858 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.74.1-slim-bookworm +FROM rust:1.74.1-slim-bookworm as build # create a new empty shell project RUN USER=root cargo new --bin holodeck @@ -20,7 +20,7 @@ RUN rm ./target/release/deps/holodeck* RUN cargo build --release # our final base -FROM rust:1.49 +FROM rust:1.74.1-slim-bookworm # copy the build artifact from the build stage COPY --from=build /holodeck/target/release/holodeck .