mirror of
https://github.com/ViViDboarder/docker-rpi-homebridge.git
synced 2024-12-22 18:37:37 +00:00
9649305adf
Image builds and container runs. Running into an issue with node and needs documentation.
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
|