Skip to content

Commit

Permalink
fix: wrong rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
Vann-Dev committed Dec 16, 2023
1 parent c4cefd3 commit a18ae28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 .
Expand Down

0 comments on commit a18ae28

Please sign in to comment.