- fixes status check for logger - adds ability to test sample data - adds PLC Handshaking capability - adds portainer as container manager - exposes mysql port for reading database (as 6603)
13 lines
353 B
Docker
13 lines
353 B
Docker
FROM python:latest
|
|
|
|
# Install some python packages
|
|
RUN pip install requests
|
|
RUN pip install git+https://github.com/Henry-Pump/Pycomm-Helper.git
|
|
RUN pip install git+https://github.com/ruscito/pycomm.git
|
|
|
|
# Copy source files
|
|
RUN mkdir /root/tag-logger
|
|
COPY taglogger.py /root/tag-logger/taglogger.py
|
|
|
|
CMD ["python", "-u", "/root/tag-logger/taglogger.py"]
|