Skip to content

Commit

Permalink
Add Docker Template
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlee05 committed Jan 1, 2021
1 parent 5390ba2 commit 0d54d9f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Template/Python/Ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
__pycache__
*.pyc
*.pyo
*.pyd
pip-log.txt
pip-delete-this-directory.txt
.tox
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
*.log
.git
8 changes: 8 additions & 0 deletions Template/Python/Template
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM python:3.8-slim

WORKDIR /app
COPY . .
RUN pip install --trusted-host pypi.python.org -r requirements.txt

CMD python app.py
EXPOSE 80

0 comments on commit 0d54d9f

Please sign in to comment.