Reorganizes for 2 docker containers
This commit is contained in:
14
daq/Dockerfile
Normal file
14
daq/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
|
||||
# RUN wget https://bootstrap.pypa.io/get-pip.py
|
||||
# RUN python get-pip.py
|
||||
|
||||
RUN pip install requests
|
||||
RUN git clone https://github.com/ruscito/pycomm.git && cd pycomm && python setup.py install && cd ..
|
||||
|
||||
CMD ["python", "/root/tag-logger/sampleData.py"]
|
||||
Reference in New Issue
Block a user