Skip to content

Commit

Permalink
Merge pull request #31 from sanjeev-sreenath/dockerize
Browse files Browse the repository at this point in the history
dockerize apod-api
  • Loading branch information
evantayloryates committed Jul 10, 2020
2 parents c0705ae + 496e3f6 commit 983420d
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 70 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ lib/
.DS_Store
.idea/
apod/__pycache__/
venv/
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:3-alpine

WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
ENTRYPOINT ["python"]
CMD ["application.py"]
Loading

0 comments on commit 983420d

Please sign in to comment.