From 11ad8a3b0e3f452d1ebb1d8ed68a87bdfab5494d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=91=AB?= Date: Thu, 30 Oct 2025 16:34:48 +0800 Subject: [PATCH] =?UTF-8?q?pref:=E4=BF=AE=E6=94=B9=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2282a7b..6e676b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,6 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . -EXPOSE 3000 +EXPOSE 7860 -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "3000"] \ No newline at end of file +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] \ No newline at end of file diff --git a/main.py b/main.py index fa40845..b68c3f3 100644 --- a/main.py +++ b/main.py @@ -8,4 +8,4 @@ def read_root(): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=3000) \ No newline at end of file + uvicorn.run(app, host="0.0.0.0", port=7860) \ No newline at end of file