no submodules

This commit is contained in:
2020-03-16 16:14:28 +01:00
parent c84753deb4
commit 4cbd5acb2f
6 changed files with 3 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ import requests
app = Flask(__name__)
URL = "http://server-check:6000"
URL = "http://server-check"
@app.errorhandler(404)
def page_not_found(error):
@@ -35,4 +35,4 @@ def findServer(name, port):
return requests.get("http://"+name+":"+port)
if __name__ == '__main__':
app.run(debug=True, host="0.0.0.0", port=5000)
app.run(debug=True, host="0.0.0.0", port=80)

View File

@@ -4,7 +4,7 @@ copy . /app
workdir /app
run pip install -r requirements.txt
expose 5000
expose 80
entrypoint [ "python" ]
cmd [ "app.py" ]