This commit is contained in:
Jan-Henrik 2023-02-07 00:57:29 +01:00
parent 14478b7905
commit fa4ffbf889
3 changed files with 2 additions and 3 deletions

View file

@ -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
ADD rootfs /
RUN adduser -S www-data -G www-data
# Corrects permissions for s6 v3
RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \

View file

@ -1,6 +1,6 @@
---
name: EPaper Station
version: 1.0.0.32
version: 1.0.0.33
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
slug: epaper-station
description: Publish Pictures to EPaper pricetags

View file

@ -2,4 +2,4 @@
IMG_DIR="$(bashio::config 'image_path')"
bashio::log.info "Starting image server..."
cd $IMG_DIR
python -m SimpleHTTPServer 8080
python -m http.server 8080