Fix compatibility issue.

This commit is contained in:
yohan 2024-06-21 17:22:40 +02:00
parent 721255d4a3
commit fc2a6d6cfd

View File

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