mirror of
https://github.com/alexhopeoconnor/SunGather.git
synced 2026-10-04 02:48:12 +10:00
Initial Docker build, updated requirements
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
FROM python:3
|
||||
|
||||
WORKDIR /usr/src/sungather
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY SunGather/ .
|
||||
RUN touch /usr/src/sungather/config.yaml
|
||||
|
||||
CMD [ "python", "sungather.py" ]
|
||||
+3
-2
@@ -1,5 +1,6 @@
|
||||
PyYAML>=6.0
|
||||
requests>=2.26.0
|
||||
paho-mqtt>=1.5.1
|
||||
pymodbus>=2.4.0
|
||||
SungrowModbusTcpClient>=0.1.5
|
||||
SungrowModbusWebClient>=0.2.4
|
||||
|
||||
SungrowModbusWebClient>=0.2.5
|
||||
|
||||
Reference in New Issue
Block a user