diff --git a/dockerfile b/dockerfile index 2ff9c4f7c..97f594d9a 100644 --- a/dockerfile +++ b/dockerfile @@ -23,6 +23,7 @@ RUN apt update && \ sqlite3 \ iputils-ping && \ pip3 --no-cache-dir install apprise && \ + install -d -m 0755 -o node -g node /app/data && \ rm -rf /var/lib/apt/lists/* # Copy app files from build layer diff --git a/dockerfile-alpine b/dockerfile-alpine index abdaaa3d5..f2f4321aa 100644 --- a/dockerfile-alpine +++ b/dockerfile-alpine @@ -19,6 +19,7 @@ WORKDIR /app # Install apprise RUN apk add --no-cache iputils python3 py3-cryptography py3-pip py3-six py3-yaml py3-click py3-markdown py3-requests py3-requests-oauthlib && \ pip3 --no-cache-dir install apprise && \ + install -d -m 0755 -o node -g node /app/data && \ rm -rf /root/.cache # Copy app files from build layer