ScamGuard-AI / Dockerfile
Bennie12's picture
Create Dockerfile
641c2ff verified
raw
history blame contribute delete
291 Bytes
FROM python:3.10
# 設定工作目錄
WORKDIR /code
# 複製 requirements.txt 並安裝套件
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 複製所有專案檔案
COPY . .
# 啟動 FastAPI
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]