diff --git a/infra b/infra deleted file mode 160000 index e05b588..0000000 --- a/infra +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e05b58851797eb8a31b6fb256b8f79af24c8774c diff --git a/src/app.py b/src/app.py index 53b95c6..79ae735 100644 --- a/src/app.py +++ b/src/app.py @@ -6,7 +6,7 @@ app = Flask(__name__) @app.route('/') def doRequest(): data = { - "serverName": "serverB", + "serverName": "backend-server", "version": "master", "success": "true" } @@ -14,4 +14,4 @@ def doRequest(): if __name__ == '__main__': - app.run(debug=True, host="0.0.0.0", port=6000) + app.run(debug=True, host="0.0.0.0", port=80) diff --git a/src/dockerfile b/src/dockerfile index b9692c2..62c5399 100644 --- a/src/dockerfile +++ b/src/dockerfile @@ -4,7 +4,7 @@ copy . /app workdir /app run pip install -r requirements.txt -expose 6000 +expose 80 entrypoint [ "python" ] cmd [ "app.py" ] \ No newline at end of file diff --git a/stage-infra b/stage-infra deleted file mode 160000 index 7938666..0000000 --- a/stage-infra +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7938666913047455c7864e47fca80700f22acd66