Skip to content

Commit

Permalink
Add docker support
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Beine committed Sep 3, 2024
1 parent c81dac7 commit f194729
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3-alpine

WORKDIR /app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY knx2mqtt .

CMD [ "python", "./knx2mqtt" ]
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ It is quite simple and does what it's name says: It works as a bridge between KN

## Installation

### Installation using Docker

```
docker run -it --rm --name knx2mqtt -v knx2mqtt.conf:/etc/knx2mqtt.conf docker.io/gbeine/knx2mqtt
```

### Native installation with Python venv

The installation requires at least Python 3.9.
Expand Down

0 comments on commit f194729

Please sign in to comment.