From 12b4fcc81571db754437c6d7a81a634a7ca68ac5 Mon Sep 17 00:00:00 2001 From: bitsofbits Date: Mon, 25 Nov 2019 10:06:26 -0700 Subject: [PATCH] simplify docker file somewhat --- Dockerfile | 6 ++---- requirements.txt | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5826fbbb..2dfd11a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,10 +32,8 @@ VOLUME ["/root/.config"] # Setup local application dependencies COPY . /opt/project RUN pip install cython -RUN pip install https://codeload.github.com/GlobalFishingWatch/pipe-tools/tar.gz/v3.0.0#egg=pipe-tools -RUN pip install https://codeload.github.com/Skytruth/gpsdio-segment/tar.gz/v0.19-dev -RUN pip install https://codeload.github.com/GlobalFishingWatch/ShipDataProcess/tar.gz/06b8495f55c6a44306ca9865b4c07d51d7ad5a7b#egg=shipdataprocess -RUN pip install --process-dependency-links -e . +RUN pip install -r requirements.txt +RUN pip install -e . # Setup the entrypoint for quickly executing the pipelines ENTRYPOINT ["scripts/run.sh"] diff --git a/requirements.txt b/requirements.txt index c8474e69..c04a54ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -cython -https://codeload.github.com/GlobalFishingWatch/gpsdio-segment/tar.gz/v0.19-dev -https://codeload.github.com/GlobalFishingWatch/pipe-tools/tar.gz/v3.0.0 +https://codeload.github.com/GlobalFishingWatch/gpsdio-segment/tar.gz/v0.19-dev#egg=gpsdio-segment +https://codeload.github.com/GlobalFishingWatch/pipe-tools/tar.gz/v3.0.0#egg=pipe-tools https://codeload.github.com/GlobalFishingWatch/ShipDataProcess/tar.gz/06b8495f55c6a44306ca9865b4c07d51d7ad5a7b#egg=shipdataprocess