Update element-web from v1.7.23 → v1.9.0
parent
4815162807
commit
81adfea334
@ -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
|
Loading…
Reference in New Issue