initial commit

This commit is contained in:
2024-10-10 11:02:20 -04:00
commit 7976ac28c0
6 changed files with 2181 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM rust:1.81
WORKDIR /usr/src/bot
COPY . .
# FROM ubuntu:24.10
# COPY --from=builder /usr/local/cargo/bin/bot /usr/local/bin/bot
# temporary fix for slow cross compile builds.
# this will simply compile and run the code on `docker run`
CMD ["cargo", "run", "--release"]