refactor for better support with ch341 and other unreliable rs232 adapters

This commit is contained in:
David
2019-07-27 22:34:34 +10:00
parent c9ba895410
commit ccb999b8dc
28 changed files with 800 additions and 774 deletions
+3 -3
View File
@@ -9,10 +9,10 @@ RUN apt update && apt install -y \
mosquitto-clients
ADD sources/ /opt/
ADD config/ /etc/skymax/
ADD config/ /etc/inverter/
RUN cd /opt/voltronic-cli && \
RUN cd /opt/inverter-cli && \
mkdir bin && cmake . && make
WORKDIR /opt
ENTRYPOINT ["/bin/bash", "/opt/voltronic-mqtt/entrypoint.sh"]
ENTRYPOINT ["/bin/bash", "/opt/inverter-mqtt/entrypoint.sh"]