零度星河
返回
当前标签:

FastAPI

(2 篇文章)

docker 部署Python FastAPI项目

FROM python:3.12-slim WORKDIR /app # 安装依赖 COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # COPY app.py . # 暴露端口

2026-01-15 156 0 0

我的标签

随笔分类

归档

查看完整归档 →