Add basic Dockerfile.

This commit is contained in:
Cory Benfield
2015-02-22 08:42:20 +00:00
parent b3151d45b0
commit 9582a68903
+9
View File
@@ -0,0 +1,9 @@
FROM ubuntu:trusty
ADD . /httpbin
RUN apt-get update -y && apt-get -y install python-pip && pip install gunicorn && pip install /httpbin
EXPOSE 8080
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8080", "httpbin:app"]