Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
create dockerfile to run echo service
  • Loading branch information
wlu2016 committed May 5, 2016
commit ca663f0de90837ceeccb46a11863bbb61efaa012
13 changes: 13 additions & 0 deletions managed_vms/endpoints/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM debian:jessie

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

COPY requirements.txt /requirements.txt
COPY swagger.yaml /swagger.yaml
COPY main.py /main.py

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