Skip to content

Commit f4bd865

Browse files
authored
Merge pull request #84 from ederjc/bugfix/docker
fix dockerfile
2 parents b2b5d15 + 6359d67 commit f4bd865

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
@@ -160,5 +160,5 @@ donations would be appreciated.
160160
```(btc) bc1qh394vazcguedkw2rlklnuhapdq7qgpnnz9c3t0```
161161

162162
### Use Docker - untested
163-
- ```docker build -t protocol_gateway ```
163+
- ```docker build . -t protocol_gateway ```
164164
- ```docker run --device=/dev/ttyUSB0 protocol_gateway```

0 commit comments

Comments
 (0)