Add Docker config

This commit is contained in:
Em (Ethan) Ruszanowski 2023-01-10 15:14:17 -05:00
parent a76ff0b02b
commit cd39dfd0ac
No known key found for this signature in database
GPG key ID: C3E7A3C0B1491DFE
3 changed files with 12 additions and 2 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
.idea
README.md

View file

@ -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

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM rust:1.66.0
WORKDIR /usr/src/echbot
COPY . .
RUN cargo install --path .
cmd "echbot"