py3
This commit is contained in:
parent
14478b7905
commit
fa4ffbf889
3 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,6 @@ RUN mkdir /public && cp /app/online_viewer.html /public/index.html && cp /app/no
|
||||||
RUN sed -i 's/`ws:\/\/localhost:8000\/ws`/window.location.href.replace("http", "ws") + "\/ws\/"/g' /public/index.html
|
RUN sed -i 's/`ws:\/\/localhost:8000\/ws`/window.location.href.replace("http", "ws") + "\/ws\/"/g' /public/index.html
|
||||||
|
|
||||||
ADD rootfs /
|
ADD rootfs /
|
||||||
RUN adduser -S www-data -G www-data
|
|
||||||
|
|
||||||
# Corrects permissions for s6 v3
|
# Corrects permissions for s6 v3
|
||||||
RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \
|
RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: EPaper Station
|
name: EPaper Station
|
||||||
version: 1.0.0.32
|
version: 1.0.0.33
|
||||||
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
||||||
slug: epaper-station
|
slug: epaper-station
|
||||||
description: Publish Pictures to EPaper pricetags
|
description: Publish Pictures to EPaper pricetags
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
IMG_DIR="$(bashio::config 'image_path')"
|
IMG_DIR="$(bashio::config 'image_path')"
|
||||||
bashio::log.info "Starting image server..."
|
bashio::log.info "Starting image server..."
|
||||||
cd $IMG_DIR
|
cd $IMG_DIR
|
||||||
python -m SimpleHTTPServer 8080
|
python -m http.server 8080
|
||||||
|
|
Loading…
Reference in a new issue