mirror of
https://github.com/ViViDboarder/docker-rpi-homebridge.git
synced 2024-12-22 19:47:49 +00:00
15 lines
426 B
Makefile
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
|