Files
DataLogger-Generic/daq/Dockerfile

16 lines
409 B
Docker

FROM python:latest
RUN mkdir /root/tag-logger
COPY taglogger.py /root/tag-logger/taglogger.py
COPY sampleData.py /root/tag-logger/sampleData.py
COPY tag /root/tag-logger/tag
COPY pycomm-master /tmp/pycomm
# RUN wget https://bootstrap.pypa.io/get-pip.py
# RUN python get-pip.py
RUN pip install requests
RUN cd /tmp/pycomm && python setup.py install && cd /
CMD ["python", "/root/tag-logger/sampleData.py"]