forked from DiscordBots/Rustendo
feat: added docker support, added docker-compose.yml
This commit is contained in:
parent
72a1fe8af3
commit
cd879e8af9
3 changed files with 27 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM rust:1.77
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y cmake
|
||||
RUN cargo build --release
|
||||
|
||||
CMD ["/usr/src/app/target/release/rustendo"]
|
Loading…
Add table
Add a link
Reference in a new issue