13 lines
434 B
Docker
13 lines
434 B
Docker
FROM debian:bookworm
|
|
MAINTAINER yohan <783b8c87@scimetis.net>
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
ENV TZ Europe/Paris
|
|
RUN apt-get update && apt-get -y install python3-pip python3-mysqldb python3-yaml python3-flask-sqlalchemy python3-flask-migrate
|
|
ENV PIP_BREAK_SYSTEM_PACKAGES 1
|
|
RUN pip install flask-restx
|
|
WORKDIR /root
|
|
COPY thermostat.py /root/
|
|
COPY migrate_db.sh /root/
|
|
COPY entrypoint.sh /root/
|
|
ENTRYPOINT ["/root/entrypoint.sh"]
|