docker-rpi-homebridge/Makefile
ViViDboarder 9649305adf Initial code commit
Image builds and container runs. Running into an issue with node and
needs documentation.
2016-11-14 22:41:21 +00:00

15 lines
426 B
Makefile

build:
docker build -t rpi-homebridge .
run: build
docker run --net=host --rm \
-v "$(shell pwd)/config.json:/root/.homebridge/config.json" \
-v "$(shell pwd)/plugins.txt:/root/.homebridge/plugins.txt" \
rpi-homebridge
shell: build
docker run --net=host --rm \
-v "$(shell pwd)/config.json:/root/.homebridge/config.json" \
-v "$(shell pwd)/plugins.txt:/root/.homebridge/plugins.txt" \
-it rpi-homebridge bash