Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

#This Image version older than 8 years ago


FROM python:3.6

WORKDIR /app

COPY . /app

RUN pip install --no-cache-dir --upgrade pip setuptools

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

EXPOSE 5000

CMD [ "python", "routes.py"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ click==6.7
Flask==0.12
itsdangerous==0.24
Jinja2==2.9.5
MarkupSafe==1.0
MarkupSafe==1.1.1
packaging==16.8
pyparsing==2.2.0
six==1.10.0
Expand Down
4 changes: 2 additions & 2 deletions routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ def symbol():
def myth():
return render_template('myth.html', the_title='Tiger in Myth and Legend')

if __name__ == '__main__':
app.run(debug=True)
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000, debug=True)