Fix compatibility issue.

This commit is contained in:
yohan 2024-06-21 17:26:28 +02:00
parent fc2a6d6cfd
commit ea7385a7e6

View File

@ -3,7 +3,8 @@ 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 python-pip python-mysqldb python-yaml
RUN pip install flask-restx==0.5.1 RUN pip install "jsonschema<4.0"
RUN pip install flask-restx==1.3.0
RUN pip install flask-sqlalchemy RUN pip install flask-sqlalchemy
WORKDIR /root WORKDIR /root
COPY api.py /root/ COPY api.py /root/