Files
DataLogger-Generic/daq_sample/Dockerfile.rpi
Patrick McDonagh 5d250bfac4 Lots of fixes, docker optimization
- 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)
2017-05-10 18:09:10 -05:00

17 lines
527 B
Docker

FROM resin/rpi-raspbian:jessie
# Copy source files
RUN mkdir /root/tag-logger
RUN apt-get update && apt-get install -y python python-pip git
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install some python packages
RUN pip install --upgrade pip
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 sampleData.py /root/tag-logger/taglogger.py
CMD ["python", "-u", "/root/tag-logger/taglogger.py"]