From 88569e05f515cb06f2898b297e150c6988da8c1c Mon Sep 17 00:00:00 2001 From: c6ristian Date: Mon, 29 Jul 2024 19:46:31 +0200 Subject: [PATCH] COPY .keep --- nextcloud/.keep | 0 nextcloud/Containerfile | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 nextcloud/.keep diff --git a/nextcloud/.keep b/nextcloud/.keep new file mode 100644 index 0000000..e69de29 diff --git a/nextcloud/Containerfile b/nextcloud/Containerfile index ac8eafb..583bb1c 100644 --- a/nextcloud/Containerfile +++ b/nextcloud/Containerfile @@ -4,8 +4,10 @@ FROM docker.io/library/nextcloud:${TAG} RUN apt-get update \ && apt-get install -y supervisor \ && rm -rf /var/lib/apt/lists/* \ - && mkdir -p /var/log/supervisord /var/run/supervisord \ - && touch /var/log/supervisord/.keep /var/run/supervisord/.keep + && mkdir -p /var/log/supervisord /var/run/supervisord + +COPY .keep /var/log/supervisord/ +COPY .keep /var/run/supervisord/ COPY supervisord.conf /