mirror of
https://github.com/ethanrusz/echbot.git
synced 2024-11-21 03:37:47 -05:00
Add Docker config
This commit is contained in:
parent
a76ff0b02b
commit
cd39dfd0ac
3 changed files with 12 additions and 2 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
.idea
|
||||
README.md
|
|
@ -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
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM rust:1.66.0
|
||||
|
||||
WORKDIR /usr/src/echbot
|
||||
COPY . .
|
||||
|
||||
RUN cargo install --path .
|
||||
|
||||
cmd "echbot"
|
Loading…
Reference in a new issue