feat: add requirements, Dockerfile and docker-compose

This commit is contained in:
Vertex-AI-Step-Builder
2025-12-31 15:30:00 +00:00
parent fa419ccac4
commit 912b027864
3 changed files with 24 additions and 2 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]