Skip to content

Commit

Permalink
Merge pull request #2 from jvlker/main
Browse files Browse the repository at this point in the history
Create Dockerfile
  • Loading branch information
jaseemabid authored Feb 27, 2024
2 parents 4cf0843 + 068b882 commit 8bec45b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM rustlang/rust:nightly-slim

RUN apt update && apt install -y libssl-dev pkg-config && rm -rf /var/lib/apt/lists/*

RUN mkdir /app
WORKDIR /app
ADD . .

RUN cargo build

ENTRYPOINT [ "cargo", "run", "--"]
CMD ["--url http://<deconz-ip>:<port>", "--username <username-from-setup>", "--port 9199"]

0 comments on commit 8bec45b

Please sign in to comment.