Add docker files
This commit is contained in:
parent
707f6a7a62
commit
b1337d3599
1
.dockerignore
Symbolic link
1
.dockerignore
Symbolic link
@ -0,0 +1 @@
|
||||
.gitignore
|
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