docker-stock-recording/Dockerfile

12 lines
373 B
Docker
Raw Normal View History

2020-04-30 23:16:29 +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
RUN pip install flask-restx flask-sqlalchemy flask-migrate
WORKDIR /root
COPY api.py /root/
COPY migrate_db.sh /root/
COPY entrypoint.sh /root/
ENTRYPOINT ["/root/entrypoint.sh"]