From 5000c7b9f044ece90b744f2030b15d3c31f006f0 Mon Sep 17 00:00:00 2001 From: Wouter Coppens Date: Tue, 26 Jul 2022 14:43:15 +0200 Subject: [PATCH] Update Dockerfile Corrects permissions for s6 v3 --- spotweb/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spotweb/Dockerfile b/spotweb/Dockerfile index f5d25cf87..68e85e065 100644 --- a/spotweb/Dockerfile +++ b/spotweb/Dockerfile @@ -88,6 +88,9 @@ RUN apk -U update && \ # Add rootfs COPY rootfs/ / +# Corrects permissions for /app directory +RUN if [ -d /app ]; then chown -R nginx /app; fi + # 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 && \