Skip to content

Commit

Permalink
python docker
Browse files Browse the repository at this point in the history
  • Loading branch information
bruke.cui committed Oct 23, 2017
1 parent 21e6500 commit 632c33a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM python:3

WORKDIR /usr/app/app

COPY requirements.txt ./

RUN pip install --no-cache-dir -r requirements.txt

COPY . .

CMD [ "python", './test.py' ]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# spider
Empty file added requirements.txt
Empty file.
1 change: 1 addition & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print('Hello Python in Docker')

0 comments on commit 632c33a

Please sign in to comment.