vncmqtt/Dockerfile

15 lines
265 B
Docker
Raw Permalink Normal View History

2023-07-24 20:33:13 +00:00
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