Add Dockerfile

This commit is contained in:
Christine Cadence Dodrill 2014-12-29 11:59:11 -08:00
parent 35432d0257
commit fc020c9dcc
4 changed files with 20 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
env

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM python:3.4.1-onbuild
EXPOSE 5000
ENV PORT 5000
CMD gunicorn -w 4 main:app -b 0.0.0.0:5000 --log-file -

10
main.py Normal file
View File

@ -0,0 +1,10 @@
import flask
app = flask.Flask(__name__)
@app.route("/")
def index():
return "Hello"
if __name__ == "__main__":
app.run()

View File

@ -2,4 +2,7 @@ Flask==0.10.1
Jinja2==2.7.3
MarkupSafe==0.23
Werkzeug==0.9.6
gunicorn==19.1.1
itsdangerous==0.24
ldap3==0.9.7.1
pyasn1==0.1.7