Skip to content

Commit

Permalink
Creating dockerfile for endpoints v2 sample
Browse files Browse the repository at this point in the history
  • Loading branch information
wlu2016 authored and Jon Wayne Parrott committed May 6, 2016
1 parent d194e98 commit b449a55
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions managed_vms/endpoints/Dockerfile.container-engine
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM debian:jessie

RUN apt-get update && \
apt-get install -y python2.7 python-pip && \
apt-get clean && \
rm /var/lib/apt/lists/*_*

ADD . /app
WORKDIR /app

RUN pip install -r requirements.txt
ENTRYPOINT ["gunicorn", "-b", ":8081", "main:app"]

0 comments on commit b449a55

Please sign in to comment.