Compare commits
No commits in common. "e31abbd9ec19b7406f7963e49fe0a4596fd01db3" and "6c2cc00f3866a3d67aec8e77bff8d5def3283471" have entirely different histories.
e31abbd9ec
...
6c2cc00f38
1
.dockerignore
Symbolic link
1
.dockerignore
Symbolic link
@ -0,0 +1 @@
|
||||
.gitignore
|
1010
Cargo.lock
generated
1010
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -7,14 +7,13 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
constant_time_eq = "0.3"
|
||||
env_logger = "0.10"
|
||||
http = "0.2"
|
||||
log = { version = "0.4", features = ["std"] }
|
||||
matrix-sdk = { version = "0.6", features = ["anyhow", "markdown"] }
|
||||
matrix-sdk = { version = "0.6", features = ["anyhow", "markdown", "rustls-tls"], default-features = false }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
serde_yaml = "0.9"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] }
|
||||
warp = "0.3"
|
||||
|
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM rust:1.72-slim-bullseye AS builder
|
||||
|
||||
WORKDIR /bebot-build
|
||||
|
||||
COPY . ./
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
WORKDIR /bebot
|
||||
|
||||
COPY --from=builder /bebot-build/target/release/bebot ./
|
||||
|
||||
ENTRYPOINT [ "/bebot/bebot", "/bebot/config/bebot/yaml" ]
|
Loading…
Reference in New Issue
Block a user