From fbfafe48377eaad9ebd04ab946ad2615c65f8e18 Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Thu, 18 Oct 2018 17:43:14 -0700 Subject: [PATCH] Add pip install requirements in dockerfile for policyapi --- microservices/policyApi/Dockerfile | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/microservices/policyApi/Dockerfile b/microservices/policyApi/Dockerfile index f442661c7..d065e9a82 100644 --- a/microservices/policyApi/Dockerfile +++ b/microservices/policyApi/Dockerfile @@ -1,25 +1,13 @@ FROM python:3.7.0 -RUN pip install pyyaml requests gevent && \ - # FLASK Micro-framework - pip install flask flask_compress && \ - # Mongo SDK - pip install mongoengine && \ - # Amazon EC2/S3 SDK - pip install boto3 && \ - # dot accessible dictionary - pip install munch && \ - # HCL Parser - pip install pyhcl - -RUN pip install pytest - WORKDIR /app COPY . . +RUN pip install -r requirements.txt + RUN chmod +x entrypoint.sh EXPOSE 3004 -ENTRYPOINT ["./entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["./entrypoint.sh"]