Add Dockerfile to create images

This commit is contained in:
2023-12-22 11:58:46 -06:00
parent 074bc44d4d
commit 1ed13f7a8b
2 changed files with 15 additions and 0 deletions

2
.dockerignore Normal file
View File

@@ -0,0 +1,2 @@
Dockerfile
target/*

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM rust:1.74-bookworm
COPY . /opt/app
WORKDIR /opt/app
RUN apt update && apt install -y cmake
RUN cargo build --release
ENTRYPOINT ["/opt/app/target/release/disconic"]
CMD ["--help"]