Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Jost committed Dec 22, 2023
2 parents da14281 + d53ef6c commit b867ce8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modbus-proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ RUN \
apk add --no-cache \
python3 py3-pip py3-yaml

# Prepare venv
RUN python3 -m venv venv

# Install modbus + py3yaml via pip
RUN pip install modbus-proxy
RUN source ./venv/bin/activate && \
pip install modbus-proxy


# Copy data for add-on
WORKDIR /
Expand Down
19 changes: 19 additions & 0 deletions tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Home Assistant",
"type": "shell",
"command": "supervisor_run",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}

0 comments on commit b867ce8

Please sign in to comment.