vncmqtt/Dockerfile
2023-07-24 15:54:38 -05:00

15 lines
265 B
Docker

FROM alpine:latest
RUN apk add python3 py3-pip curl mosquitto-clients
COPY requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
COPY grab.py /grab.py
WORKDIR /
CMD ["python3", "/grab.py"]
COPY health.sh /health.sh
HEALTHCHECK CMD /health.sh