-
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'isarrider-patch-1' into development03
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
############################ | ||
# build executable binary | ||
############################ | ||
|
||
FROM python:slim-bullseye | ||
|
||
COPY . /hoymiles | ||
WORKDIR /hoymiles | ||
|
||
RUN python3 -m pip install pyrf24 influxdb_client && \ | ||
python3 -m pip list #watch for RF24 module - if its there its installed | ||
|
||
RUN pip install crcmod pyyaml paho-mqtt SunTimes | ||
|
||
CMD python3 -um hoymiles --log-transactions --verbose --config /etc/ahoy.yml |