2024-06-21 15:44:11 +00:00
|
|
|
FROM debian:bookworm
|
2024-01-30 09:52:28 +00:00
|
|
|
MAINTAINER yohan <783b8c87@scimetis.net>
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
ENV TZ Europe/Paris
|
2024-06-21 15:44:11 +00:00
|
|
|
RUN apt-get update && apt-get -y install gunicorn python3-pip python3-yaml python3-flask python3-mysqldb
|
2024-06-21 15:49:54 +00:00
|
|
|
ENV PIP_BREAK_SYSTEM_PACKAGES 1
|
2024-06-21 15:26:28 +00:00
|
|
|
RUN pip install flask-restx==1.3.0
|
2024-06-21 15:01:13 +00:00
|
|
|
RUN pip install flask-sqlalchemy
|
2024-01-30 09:52:28 +00:00
|
|
|
WORKDIR /root
|
|
|
|
COPY api.py /root/
|
|
|
|
COPY entrypoint.sh /root/
|
|
|
|
ENTRYPOINT ["/root/entrypoint.sh"]
|