Update to Python3.
This commit is contained in:
parent
7508df4c24
commit
446877d814
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user