fix: venv

This commit is contained in:
Timon Horlboge 2024-02-09 16:58:07 +01:00
parent 5fc0754dec
commit 23455e593c
3 changed files with 4 additions and 4 deletions

View File

@ -5,9 +5,9 @@ FROM $BUILD_FROM
RUN apk update && apk add --no-cache python3 py-pip
# Prepare venv
RUN python3 -m venv venv
RUN python3 -m venv /opt/venv
RUN source ./venv/bin/activate && \
RUN source /opt/venv/bin/activate && \
python3 -m pip install websockets requests beautifulsoup4
WORKDIR /srv

View File

@ -1,6 +1,6 @@
name: "Fritz!Box Temperature Sync Dev"
description: "Sync Fritz!DECT thermostat temperatures with other sensors in Home Assistant"
version: "0.5.3"
version: "0.5.4"
startup: "application"
stage: "stable"
slug: "fritz_temp_sync_dev"

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
source ./venv/bin/activate
source /opt/venv/bin/activate
python3 /srv/sync_ha_fb.py /data/options.json