docker-compose build

This commit is contained in:
Harivansh Rathi 2026-03-25 12:40:14 -04:00
parent b108be8afe
commit 5d655de594
4 changed files with 57 additions and 4 deletions

11
docker/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM rust:1.94-bullseye
WORKDIR /workspace
COPY Cargo.toml Cargo.lock ./
COPY assets ./assets
COPY src ./src
RUN cargo build --release --locked
CMD ["bash", "-lc", "mkdir -p /out && cp target/release/deskctl /out/deskctl-linux-x86_64 && chmod 755 /out/deskctl-linux-x86_64"]