Browse Source

Create data directories with unprivileged user

pull/419/head
Michał Ciania 4 years ago
parent
commit
57de7a641a
  1. 1
      dockerfile
  2. 1
      dockerfile-alpine

1
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

1
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

Loading…
Cancel
Save