JasonFinley0821 commited on
Commit
b549955
·
1 Parent(s): 288fd8b

fix : runtime error

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -14,7 +14,7 @@ COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  # 複製專案檔案
17
-
18
 
19
  # FastAPI 使用 uvicorn 啟動
20
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  # 複製專案檔案
17
+ COPY . .
18
 
19
  # FastAPI 使用 uvicorn 啟動
20
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]