From 81adfea33481f323454d5b1f421107fa510f7d9d Mon Sep 17 00:00:00 2001 From: Jeltz Date: Fri, 29 Oct 2021 15:42:43 +0200 Subject: [PATCH] =?UTF-8?q?Update=20element-web=20from=20v1.7.23=20?= =?UTF-8?q?=E2=86=92=20v1.9.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 13 +++++++++++++ element/Dockerfile | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c968e28 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3-alpine +LABEL description="A Matrix bot for Alertmanager" +# Instal gcc to build wheels +RUN apk add --no-cache gcc musl-dev +# Force the stdout and stderr streams to be unbuffered +ENV PYTHONUNBUFFERED 1 +# Install requirements from PyPI +COPY requirements.txt requirements.txt +RUN pip install --no-cache-dir -r requirements.txt +# Copy the all the necessary files +COPY . . +EXPOSE 8000 +ENTRYPOINT python3 bot.py diff --git a/element/Dockerfile b/element/Dockerfile index 7b48707..9d74f94 100644 --- a/element/Dockerfile +++ b/element/Dockerfile @@ -1,4 +1,4 @@ -FROM vectorim/element-web:v1.7.23 +FROM vectorim/element-web:v1.9.0 # Customize instance settings and background COPY config.json /app/config.json