LouisLam
3 years ago
6 changed files with 25 additions and 20 deletions
@ -0,0 +1,8 @@ |
|||||
|
# DON'T UPDATE TO alpine3.13, 1.14, see #41. |
||||
|
FROM node:14-alpine3.12 |
||||
|
WORKDIR /app |
||||
|
|
||||
|
# Install apprise, iputils for non-root ping, setpriv |
||||
|
RUN apk add --no-cache iputils setpriv dumb-init python3 py3-cryptography py3-pip py3-six py3-yaml py3-click py3-markdown py3-requests py3-requests-oauthlib && \ |
||||
|
pip3 --no-cache-dir install apprise && \ |
||||
|
rm -rf /root/.cache |
@ -0,0 +1,11 @@ |
|||||
|
# DON'T UPDATE TO node:14-bullseye-slim, see #372. |
||||
|
# If the image changed, the second stage image should be changed too |
||||
|
FROM node:14-buster-slim |
||||
|
WORKDIR /app |
||||
|
|
||||
|
# Install Apprise, add sqlite3 cli for debugging in the future, iputils-ping for ping, util-linux for setpriv |
||||
|
RUN apt update && \ |
||||
|
apt --yes install python3 python3-pip python3-cryptography python3-six python3-yaml python3-click python3-markdown python3-requests python3-requests-oauthlib \ |
||||
|
sqlite3 iputils-ping util-linux dumb-init && \ |
||||
|
pip3 --no-cache-dir install apprise && \ |
||||
|
rm -rf /var/lib/apt/lists/* |
Loading…
Reference in new issue