2024-01-30 09:52:28 +00:00
|
|
|
FROM debian:buster
|
|
|
|
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
|
2024-06-21 15:22:40 +00:00
|
|
|
RUN pip install flask-restx==0.5.1
|
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"]
|