mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
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"] |