From 446877d8140ce77abda527b1a328fcb641aeddd2 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Fri, 21 Jun 2024 17:44:11 +0200 Subject: [PATCH] Update to Python3. --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 367917c..eceeb46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ -FROM debian:buster +FROM debian:bookworm MAINTAINER yohan <783b8c87@scimetis.net> ENV DEBIAN_FRONTEND noninteractive ENV TZ Europe/Paris -RUN apt-get update && apt-get -y install python-pip python-mysqldb python-yaml -RUN pip install pyrsistent==0.16.0 -RUN pip install "jsonschema<4.0" +RUN apt-get update && apt-get -y install gunicorn python3-pip python3-yaml python3-flask python3-mysqldb RUN pip install flask-restx==1.3.0 RUN pip install flask-sqlalchemy WORKDIR /root