Skip to content

Commit

Permalink
Add pip install requirements in dockerfile for policyapi
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Oct 19, 2018
1 parent dbcd904 commit fbfafe4
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions microservices/policyApi/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
ENTRYPOINT ["./entrypoint.sh"]

0 comments on commit fbfafe4

Please sign in to comment.