ARG BUILD_FROM FROM $BUILD_FROM # Install requirements for add-on RUN apk update && apk add --no-cache python3 py3-pip py3-websockets py3-httpx WORKDIR /data # Copy data for add-on COPY sync_ha_fb.py /srv COPY fritzbox.py /srv COPY homeassistant.py /srv COPY device.py /srv COPY sync_controller.py /srv COPY config.py /srv COPY errors.py /srv COPY ha_types.py /srv COPY logging_config.py /srv COPY run.sh / RUN chmod a+x /run.sh CMD [ "/run.sh" ]