Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Ravichandran committed Sep 24, 2017
0 parents commit a788bdf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Place your settings in this file to overwrite default and user settings.
{
}
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

ADD python_docker.py /

RUN pip install requests

CMD [ "python", "./python_docker.py" ]
7 changes: 7 additions & 0 deletions python_docker.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import requests
city = "Los Angeles"

print "I am from %s" %city

r = requests.get('http://www.google.com')
print r.status_code

0 comments on commit a788bdf

Please sign in to comment.