mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-06 13:12:33 +02:00
Create data directories with unprivileged user
This commit is contained in:
parent
f7d9b1ffb1
commit
57de7a641a
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue