From ddf42aa6ba92af95ee73b29e30efa42753de2040 Mon Sep 17 00:00:00 2001 From: debelatesfaye Date: Tue, 4 Mar 2025 14:24:36 +0000 Subject: [PATCH] modified the regex --- .github/workflows/deploy.yml | 2 +- Dockerfile | 2 +- docker-compose.yml | 2 +- main.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 151e72d..cd1379e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,4 +19,4 @@ jobs: # Define a URL for your app, without the http:// or www prefixes full_app_url: default-segmenter.amfws.arg.tech # The port that is exposed on localhost (must be the same as in docker-compose.yml) - app_port: 5008 \ No newline at end of file + app_port: 5005 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2682f25..89fbc64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ WORKDIR /app RUN pip install -r requirements.txt # Expose port 5008 for the Flask app -EXPOSE 5008 +EXPOSE 5005 # Set the default command to run the application CMD ["python", "./main.py"] diff --git a/docker-compose.yml b/docker-compose.yml index a93284b..6187304 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,5 +6,5 @@ services: container_name: default-segmenter build: . ports: - - "5008:5008" + - "5005:5005" diff --git a/main.py b/main.py index 56ce45b..5ef7dcc 100644 --- a/main.py +++ b/main.py @@ -47,4 +47,4 @@ def segmenter_defult(): if __name__ == "__main__": - app.run(host="0.0.0.0", port=int("5008"), debug=False) + app.run(host="0.0.0.0", port=int("5005"), debug=False)