You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM rust:1.76-bookworm as build
RUN apt-get update
RUN apt-get install protobuf-compiler -y
# create a new empty shell projectWORKDIR /examples
# copy your source treeCOPY src ./src
COPY ./Cargo.toml ./Cargo.toml
COPY ./Cargo.lock ./Cargo.lock
# build for releaseRUN cargo build --release
# our final baseFROM gcr.io/distroless/cc-debian12
# copy the build artifact from the build stageCOPY --from=build /examples/target/release/server /
# set the startup command to run your binaryCMD ["/server"]
The text was updated successfully, but these errors were encountered:
Example,
The text was updated successfully, but these errors were encountered: