From 48e7a70c57bae0dab7a4dc6a8ff03db1a51d94d7 Mon Sep 17 00:00:00 2001 From: Marc Juchli Date: Thu, 21 Jul 2016 15:23:23 +0200 Subject: [PATCH] Lookup requirements file for installing dependencies --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a8e6922e..a860c620 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,6 @@ FROM python:3-onbuild COPY ./pgoapi /pgoapi COPY ./pokecli.py /pokecli.py -RUN pip install requests -RUN pip install protobuf -RUN pip install gpsoauth -RUN pip install geopy -RUN pip install s2sphere +RUN for r in `cat requirements.txt`; do pip install $r; done ENTRYPOINT [ "python", "/pokecli.py" ]