mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 12:02:47 +00:00
docker laten werken hiermee is zo moeilijk
This commit is contained in:
@@ -3,7 +3,7 @@ import requests
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
URL = "http://service:5000"
|
||||
URL = "http://service:6000"
|
||||
|
||||
|
||||
@app.route('/')
|
||||
@@ -12,4 +12,4 @@ def doRequest():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True, host="0.0.0.0")
|
||||
app.run(debug=True, host="0.0.0.0", port=5000)
|
@@ -7,4 +7,4 @@ run pip install -r requirements.txt
|
||||
expose 5000
|
||||
entrypoint [ "python" ]
|
||||
|
||||
cmd [ "__init__.py" ]
|
||||
cmd [ "app.py" ]
|
Reference in New Issue
Block a user