From 59d03f97a3f429e2035da30c079fd6c5277d9eec Mon Sep 17 00:00:00 2001 From: c6ristian Date: Mon, 29 Jul 2024 20:15:58 +0200 Subject: [PATCH] explain why the COPY step exists --- nextcloud/Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nextcloud/Containerfile b/nextcloud/Containerfile index 8cc4fe2..d139a4d 100644 --- a/nextcloud/Containerfile +++ b/nextcloud/Containerfile @@ -6,10 +6,11 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* \ && mkdir -p /var/log/supervisord /var/run/supervisord -#COPY .keep /var/run/supervisord/ +# We need to copy a file to the supervisord folder in /var/run so it exists when the container starts. +COPY .keep /var/run/supervisord/ COPY supervisord.conf / ENV NEXTCLOUD_UPDATE=1 -CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] +CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] \ No newline at end of file