Update to Python3.

This commit is contained in:
yohan 2024-06-21 17:44:11 +02:00
parent 7508df4c24
commit 446877d814

View File

@ -1,10 +1,8 @@
FROM debian:buster FROM debian:bookworm
MAINTAINER yohan <783b8c87@scimetis.net> MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Paris ENV TZ Europe/Paris
RUN apt-get update && apt-get -y install python-pip python-mysqldb python-yaml RUN apt-get update && apt-get -y install gunicorn python3-pip python3-yaml python3-flask python3-mysqldb
RUN pip install pyrsistent==0.16.0
RUN pip install "jsonschema<4.0"
RUN pip install flask-restx==1.3.0 RUN pip install flask-restx==1.3.0
RUN pip install flask-sqlalchemy RUN pip install flask-sqlalchemy
WORKDIR /root WORKDIR /root