diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ce19170 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.idea +README.md diff --git a/Cargo.toml b/Cargo.toml index 3f82269..a2dcf56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "echbot" -version = "0.1.1" -edition = "2023" +version = "0.1.0" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1668093 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM rust:1.66.0 + +WORKDIR /usr/src/echbot +COPY . . + +RUN cargo install --path . + +cmd "echbot"