15 lines
418 B
Docker
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"]
|
|
|