Skip to content

Commit

Permalink
changes based on Codacy review
Browse files Browse the repository at this point in the history
  • Loading branch information
manasesjesus committed May 24, 2019
1 parent bdb44aa commit 39a30cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:alpine3.6

ADD application.py /
RUN pip install flask
COPY application.py /
RUN pip install flask==0.10.1

ENTRYPOINT ["python"]
CMD ["application.py"]
2 changes: 1 addition & 1 deletion application.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ def environment():
return jsonify(environment_data)

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

0 comments on commit 39a30cf

Please sign in to comment.