From e3d365b0f31a99656aba6abdf8cdb46cdb373738 Mon Sep 17 00:00:00 2001 From: Neal Logan Date: Thu, 12 Dec 2024 17:01:01 -0500 Subject: [PATCH] Changed port to 8000 --- MinuteMate/back/Dockerfile | 4 ++-- MinuteMate/front/app.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MinuteMate/back/Dockerfile b/MinuteMate/back/Dockerfile index 152c893e..027ffdc8 100644 --- a/MinuteMate/back/Dockerfile +++ b/MinuteMate/back/Dockerfile @@ -3,5 +3,5 @@ WORKDIR /app COPY . /app RUN pip install --upgrade pip RUN pip install -r requirements.txt -EXPOSE 8001 -CMD ["uvicorn", "main:app","--host","0.0.0.0","--port","8001"] \ No newline at end of file +EXPOSE 8000 +CMD ["uvicorn", "main:app","--host","0.0.0.0","--port","8000"] \ No newline at end of file diff --git a/MinuteMate/front/app.py b/MinuteMate/front/app.py index bea4b6aa..37f36e4c 100644 --- a/MinuteMate/front/app.py +++ b/MinuteMate/front/app.py @@ -118,7 +118,7 @@ def display_chat_messages() -> None: try: # Make API call to backend response = requests.post( - "http://host.docker.internal:8001/process-prompt", # Adjust URL as needed + "http://host.docker.internal:8000/process-prompt", # Adjust URL as needed json={"user_prompt_text": prompt} )