Add async Flask in Dockerfile

This commit is contained in:
Ben 2021-10-28 23:22:28 +02:00
parent 330a259be1
commit 425c39a733
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -1,7 +1,10 @@
FROM docker.io/alpine:latest
MAINTAINER Benedikt Ziemons <ben@rs485.network>
RUN apk add --no-cache uwsgi-python3 python3 py3-yaml py3-flask py3-matrix-nio py3-dateutil
RUN apk add --no-cache uwsgi-python3 python3 py3-yaml py3-pip py3-setuptools py3-matrix-nio py3-dateutil && \
pip install -U pip && \
pip install -U setuptools && \
pip install -U Flask[async]
# copy required source files
COPY wmn/ /usr/local/lib/wmn/wmn