11 lines
333 B
Docker
11 lines
333 B
Docker
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
|
|
RUN pip install flask-restx flask-sqlalchemy
|
|
WORKDIR /root
|
|
COPY api.py /root/
|
|
COPY entrypoint.sh /root/
|
|
ENTRYPOINT ["/root/entrypoint.sh"]
|