From 03beb29d7bc9e8c3f28c1633c2a8a5f0ec185c9c Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Mon, 6 Feb 2023 22:18:24 +0100 Subject: [PATCH] Add missing docker config --- epaper-station/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/epaper-station/Dockerfile b/epaper-station/Dockerfile index 959abc7..836e570 100644 --- a/epaper-station/Dockerfile +++ b/epaper-station/Dockerfile @@ -7,3 +7,10 @@ RUN mv /src/CC2531_station/epaper_station_websocket/ /app WORKDIR /app RUN pip install -r requirements.txt + +ADD rootfs / + +# Corrects permissions for s6 v3 +RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ + if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \ + if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi