Updates docker files

This commit is contained in:
Patrick McDonagh
2017-05-08 09:52:11 -05:00
parent ab005f9cce
commit 4cb15c2390
5 changed files with 52 additions and 19 deletions

14
daq/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:latest
# Copy source files
RUN mkdir /root/tag-logger
COPY taglogger.py /root/tag-logger/taglogger.py
COPY pycomm-master /tmp/pycomm
COPY Pycomm-Helper /tmp/pycomm_helper
# Install some python packages
RUN pip install requests
RUN cd /tmp/pycomm && python setup.py install && cd /
RUN cd /tmp/pycomm_helper && python setup.py install && cd /
CMD ["python", "/root/tag-logger/taglogger.py"]