docker-store-metrics-in-db/Dockerfile
2024-06-21 16:53:35 +02:00

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"]