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 /