Skip to content

Commit

Permalink
Merge pull request #2 from msazanov/master
Browse files Browse the repository at this point in the history
updated repo key and add device port
  • Loading branch information
PoltoS authored Nov 24, 2022
2 parents 5118403 + e7365ed commit 4889907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ WORKDIR /opt
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# Add Z-Wave.Me repository
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x7E148E3C && \
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5b2f88a91611e683 && \
echo "deb https://repo.z-wave.me/z-way/$branch $distro main" > /etc/apt/sources.list.d/z-wave-me.list

# Update packages list
RUN apt-get update && \
apt-get install -y z-way-server
apt-get install -y z-way-server zbw

ENV LD_LIBRARY_PATH=/opt/z-way-server/libs
ENV PATH=/opt/z-way-server:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ docker build -t zway .

## Run
```sh
docker container run --rm -it -p 8083:8083 zway
docker container run --rm -it -p 8083:8083 --device=/dev/ttyACM0 zway
```

0 comments on commit 4889907

Please sign in to comment.