mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-08 05:21:51 +00:00
13 lines
386 B
Docker
13 lines
386 B
Docker
ARG BUILD_FROM=ghcr.io/hassio-addons/base-python/amd64:6.0.0
|
|
FROM ${BUILD_FROM}
|
|
|
|
# add source and unpack
|
|
ADD "https://github.com/MaxWinterstein/toogoodtogo-ha-mqtt-bridge/archive/refs/tags/v.2.4.0.tar.gz" /src.tar.gz
|
|
RUN mkdir /app && tar xvfz /src.tar.gz -C /app --strip-components=1
|
|
|
|
# install
|
|
WORKDIR /app
|
|
RUN pip install -r requirements.txt
|
|
RUN python setup.py install
|
|
|
|
ADD rootfs / |