hassio-addons/mi-scale/Dockerfile

18 lines
440 B
Docker
Raw Normal View History

2020-07-01 02:18:55 +08:00
FROM python:3.8-slim
2020-11-24 18:14:07 +08:00
LABEL io.hass.version="0.1.13" io.hass.type="addon" io.hass.arch="armhf|aarch64|i386|amd64"
2020-07-01 02:18:55 +08:00
WORKDIR /opt/miscale
COPY src /opt/miscale
RUN apt-get update && apt-get install -y \
bluez \
python-pip \
libglib2.0-dev && \
rm -rf /var/lib/apt/lists/*
RUN pip install -r requirements.txt
# Copy in docker scripts to root of container...
COPY dockerscripts/ /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/cmd.sh"]