Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-kotikov committed Feb 4, 2019
0 parents commit d238a04
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM homeassistant/raspberrypi3-homeassistant
# redirect logs to stdout
RUN ln -sf /dev/null /var/log/homeassistant.log
CMD ["python3", "-m", "homeassistant", "--config", "/config", "--log-file", "/var/log/homeassistant.log" ]
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
TAG=vlkoti/raspberrypi3-homeassistant:latest

all: image

image: Dockerfile
docker build -t $(TAG) .

deploy:
docker-compose up -d homeassistant

push:
docker push $(TAG)

0 comments on commit d238a04

Please sign in to comment.