Skip to content

Commit

Permalink
new app added
Browse files Browse the repository at this point in the history
  • Loading branch information
sro committed Mar 19, 2018
1 parent b84ac65 commit 4f149d5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
File renamed without changes.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:2.7
MAINTAINER Rowshan Jahan Sathi "[email protected]"
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENTRYPOINT ["python"]
CMD ["app.py"]
11 changes: 11 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello():
return "Hello World Test!!"


if __name__ == "__main__":
app.run(debug=True,host='0.0.0.0')
4 changes: 1 addition & 3 deletions requirements.txt
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
selenium
requests
setuptools
flask
5 changes: 5 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
#build the docker image
docker build -t rowshan/eds_e2e
#Run the test_app image container
docker run -d -p 5000:5000 rowshan/eds_e2e

0 comments on commit 4f149d5

Please sign in to comment.