diff --git a/Dockerfile b/Dockerfile index 1dcb260..92598e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,10 @@ RUN pip install --prefix=/install -r /requirements.txt FROM base COPY --from=builder /install /usr/local -COPY protocol_settings.py /app/ COPY protocol_gateway.py /app/ -COPY inverter.py /app/ COPY config.cfg /app/ COPY defs/ /app/defs/ COPY classes /app/classes/ +COPY protocols /app/protocols/ WORKDIR /app CMD ["python3", "protocol_gateway.py"] diff --git a/README.md b/README.md index c25a622..8549120 100644 --- a/README.md +++ b/README.md @@ -159,5 +159,5 @@ donations would be appreciated. ```(btc) bc1qh394vazcguedkw2rlklnuhapdq7qgpnnz9c3t0``` ### Use Docker - untested -- ```docker build -t protocol_gateway ``` +- ```docker build . -t protocol_gateway ``` - ```docker run --device=/dev/ttyUSB0 protocol_gateway```