diff options
Diffstat (limited to 'demos/min/context')
-rw-r--r-- | demos/min/context/Dockerfile.alpine | 6 | ||||
-rw-r--r-- | demos/min/context/app.py | 10 | ||||
-rw-r--r-- | demos/min/context/downstream/v49i09.pdf | bin | 0 -> 1511030 bytes | |||
-rw-r--r-- | demos/min/context/requirements.txt | 1 |
4 files changed, 17 insertions, 0 deletions
diff --git a/demos/min/context/Dockerfile.alpine b/demos/min/context/Dockerfile.alpine new file mode 100644 index 0000000..68eac60 --- /dev/null +++ b/demos/min/context/Dockerfile.alpine @@ -0,0 +1,6 @@ +FROM python:2.7-alpine +COPY . /app +WORKDIR /app +RUN pip install -r requirements.txt +ENTRYPOINT ["python"] +CMD ["app.py"] diff --git a/demos/min/context/app.py b/demos/min/context/app.py new file mode 100644 index 0000000..6165f1b --- /dev/null +++ b/demos/min/context/app.py @@ -0,0 +1,10 @@ +from flask import Flask + +app = Flask(__name__) + +@app.route("/") +def hello(): + return "If a man never contradicts himself, the reason must be that he virtually never says anything at all... Erwin Schrodinger" + +if __name__ == "__main__": + app.run(debug=True,host='0.0.0.0') diff --git a/demos/min/context/downstream/v49i09.pdf b/demos/min/context/downstream/v49i09.pdf Binary files differnew file mode 100644 index 0000000..05743fb --- /dev/null +++ b/demos/min/context/downstream/v49i09.pdf diff --git a/demos/min/context/requirements.txt b/demos/min/context/requirements.txt new file mode 100644 index 0000000..7e10602 --- /dev/null +++ b/demos/min/context/requirements.txt @@ -0,0 +1 @@ +flask |