-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
43 lines (30 loc) · 686 Bytes
/
Copy pathDockerfile
File metadata and controls
43 lines (30 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM python:3.6-jessie
MAINTAINER Thomas Kintscher
#
# build required packages
#
USER root
RUN apt-get update && apt-get install -y \
build-essential \
libudev-dev \
make \
g++ \
libyaml-dev \
libavahi-compat-libdnssd-dev
RUN pip install --trusted-host pypi.python.org \
cython \
wheel \
six \
PyDispatcher \
python-openzwave \
HAP-python
#
# add and configure script
#
ADD server.py /root/server.py
EXPOSE 5353 51826
ENV ZWAVE_DEVICE /dev/ttyACM0
ENV BRIDGE_NAME Z-Wave Bridge
ENV MAC AA:11:22:33:44:55
ENV PINCODE 123-45-678
CMD ["python3", "/root/server.py"]