[TooGoodToGoo] Fix permissions

This commit is contained in:
Max Winterstein
2023-01-26 12:38:34 +01:00
committed by GitHub
parent cfa20d9f46
commit 0d835b2806
3 changed files with 8 additions and 3 deletions

View File

@@ -10,4 +10,9 @@ WORKDIR /app
RUN pip install -r requirements.txt
RUN python setup.py install
ADD rootfs /
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