mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Fix the Dockerfile
This commit is contained in:
parent
7eafa5805a
commit
55f85f59d9
13
Dockerfile
13
Dockerfile
@ -1,9 +1,22 @@
|
|||||||
FROM python:3-onbuild
|
FROM python:3-onbuild
|
||||||
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
|
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y nodejs npm
|
||||||
|
|
||||||
|
RUN npm install -g bower vulcanize
|
||||||
|
|
||||||
|
# Debian installs nodejs as nodejs instead of node.
|
||||||
|
RUN ln -sf /usr/bin/nodejs /usr/sbin/node
|
||||||
|
|
||||||
|
# RUN ./build_polymer
|
||||||
|
RUN cd homeassistant/components/http/www_static/polymer && \
|
||||||
|
bower install --allow-root && \
|
||||||
|
vulcanize -o build.htm home-assistant-main.html
|
||||||
|
|
||||||
# Temporary fix while waiting for new version of phue to be released
|
# Temporary fix while waiting for new version of phue to be released
|
||||||
RUN curl https://raw.githubusercontent.com/studioimaginaire/phue/master/phue.py -o phue.py
|
RUN curl https://raw.githubusercontent.com/studioimaginaire/phue/master/phue.py -o phue.py
|
||||||
|
|
||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
EXPOSE 8123
|
EXPOSE 8123
|
||||||
|
Loading…
x
Reference in New Issue
Block a user