maxcube-mqtt/Dockerfile
2022-11-29 21:12:24 +01:00

15 lines
418 B
Docker

FROM python:3
WORKDIR /usr/src/app
RUN python -m pip install --no-cache-dir maxcube-api paho-mqtt \
&& python -m pip install --no-cache-dir git+https://github.com/copyrights/python-maxcube-api.git@more_to_dict \
&& python -m pip install --no-cache-dir git+https://github.com/copyrights/maxcube-mqtt.git@forDocker
COPY maxcube.json entrypoint .
ENTRYPOINT ["./entrypoint"]
CMD ["maxcube-mqtt","./maxcube.json"]