-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pip install requirements in dockerfile for policyapi
- Loading branch information
ikethecoder
committed
Oct 19, 2018
1 parent
dbcd904
commit fbfafe4
Showing
1 changed file
with
3 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |