Modifies docker file to install via pip vs copying
This commit is contained in:
@@ -3,11 +3,13 @@ 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
|
||||
# COPY pycomm-master /tmp/pycomm
|
||||
# COPY Pycomm-Helper /tmp/pycomm_helper
|
||||
|
||||
# Install some python packages
|
||||
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
|
||||
RUN cd /tmp/pycomm && python setup.py install && cd /
|
||||
RUN cd /tmp/pycomm_helper && python setup.py install && cd /
|
||||
|
||||
|
||||
Reference in New Issue
Block a user