From 425c39a73300889e349849b7b05690e0e03bf569 Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Thu, 28 Oct 2021 23:22:28 +0200 Subject: [PATCH] Add async Flask in Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4272b0c..99d3c28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ FROM docker.io/alpine:latest MAINTAINER Benedikt Ziemons -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