Skip to content

Commit 6359d67

Browse files
committed
fix dockerfile
1 parent ab0416d commit 6359d67

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ RUN pip install --prefix=/install -r /requirements.txt
77

88
FROM base
99
COPY --from=builder /install /usr/local
10-
COPY protocol_settings.py /app/
1110
COPY protocol_gateway.py /app/
12-
COPY inverter.py /app/
1311
COPY config.cfg /app/
1412
COPY defs/ /app/defs/
1513
COPY classes /app/classes/
14+
COPY protocols /app/protocols/
1615
WORKDIR /app
1716
CMD ["python3", "protocol_gateway.py"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,5 @@ donations would be appreciated.
159159
```(btc) bc1qh394vazcguedkw2rlklnuhapdq7qgpnnz9c3t0```
160160

161161
### Use Docker - untested
162-
- ```docker build -t protocol_gateway ```
162+
- ```docker build . -t protocol_gateway ```
163163
- ```docker run --device=/dev/ttyUSB0 protocol_gateway```

0 commit comments

Comments
 (0)