Skip to content

Instantly share code, notes, and snippets.

@jacobzlogar
Created January 26, 2023 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobzlogar/05e5ae991ee7994ef63bd48b60ef2e27 to your computer and use it in GitHub Desktop.
Save jacobzlogar/05e5ae991ee7994ef63bd48b60ef2e27 to your computer and use it in GitHub Desktop.
BOJO
[package]
name = "bojo"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
FROM rust:1.31
WORKDIR /src
COPY ./src ./src
COPY ./Cargo.toml ./Cargo.toml
RUN cargo build --release
CMD ["./target/release/bojo"]
fn main() {
println!("Hello, world!");
}
@jacobzlogar
Copy link
Author

docker build -t bojo .

docker run bojo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment