15 lines
425 B
Docker
15 lines
425 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
|
|
|
|
# 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"]
|