fix: venv
This commit is contained in:
parent
5fc0754dec
commit
23455e593c
@ -5,9 +5,9 @@ FROM $BUILD_FROM
|
|||||||
RUN apk update && apk add --no-cache python3 py-pip
|
RUN apk update && apk add --no-cache python3 py-pip
|
||||||
|
|
||||||
# Prepare venv
|
# 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
|
python3 -m pip install websockets requests beautifulsoup4
|
||||||
|
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: "Fritz!Box Temperature Sync Dev"
|
name: "Fritz!Box Temperature Sync Dev"
|
||||||
description: "Sync Fritz!DECT thermostat temperatures with other sensors in Home Assistant"
|
description: "Sync Fritz!DECT thermostat temperatures with other sensors in Home Assistant"
|
||||||
version: "0.5.3"
|
version: "0.5.4"
|
||||||
startup: "application"
|
startup: "application"
|
||||||
stage: "stable"
|
stage: "stable"
|
||||||
slug: "fritz_temp_sync_dev"
|
slug: "fritz_temp_sync_dev"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
source ./venv/bin/activate
|
source /opt/venv/bin/activate
|
||||||
python3 /srv/sync_ha_fb.py /data/options.json
|
python3 /srv/sync_ha_fb.py /data/options.json
|
Loading…
x
Reference in New Issue
Block a user