mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
a5f0778c38
PiperOrigin-RevId: 603161919
12 lines
276 B
Docker
12 lines
276 B
Docker
FROM rust:1.75.0
|
|
# Set the working directory
|
|
WORKDIR /app
|
|
|
|
# Copy the application files into the image
|
|
COPY Cargo.toml helloworld.rs ./
|
|
|
|
# Build the application in release mode
|
|
RUN cargo build --release
|
|
|
|
# Set the command to run the binary
|
|
CMD ["./target/release/hello-world"] |