docker: pip install apprise; 1.09GB -> 1.11GB

This commit is contained in:
Ralf Vogler 2023-01-25 16:43:51 +01:00
parent cecc54082f
commit e57c2c4408

View file

@ -9,7 +9,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD true ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD true
# Install up-to-date node & npm, deps for virtual screen & noVNC, browser. # Install up-to-date node & npm, deps for virtual screen & noVNC, browser, pip for apprise.
# Playwright needs --with-deps for firefox. # Playwright needs --with-deps for firefox.
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y curl \ && apt-get install -y curl \
@ -22,6 +22,7 @@ RUN apt-get update \
tini \ tini \
novnc websockify \ novnc websockify \
dos2unix \ dos2unix \
python3-pip \
&& npx playwright install --with-deps firefox \ && npx playwright install --with-deps firefox \
&& apt-get clean \ && apt-get clean \
&& rm -rf \ && rm -rf \
@ -32,6 +33,7 @@ RUN apt-get update \
/var/tmp/* /var/tmp/*
RUN ln -s /usr/share/novnc/vnc_auto.html /usr/share/novnc/index.html RUN ln -s /usr/share/novnc/vnc_auto.html /usr/share/novnc/index.html
RUN pip install apprise
WORKDIR /fgc WORKDIR /fgc
COPY package*.json ./ COPY package*.json ./