Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
app_port: 5005
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ services:
container_name: default-segmenter
build: .
ports:
- "5008:5008"
- "5005:5005"

2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)