ai / Dockerfile
1v1's picture
Update Dockerfile
890093e verified
raw
history blame contribute delete
266 Bytes
FROM python:3.10-slim
# 设置工作目录
WORKDIR /app
# 复制应用代码
COPY . .
RUN chmod -R 777 /app
# 安装依赖
RUN pip install --no-cache-dir flask requests gunicorn fpdf2 pydantic
# 暴露端口
EXPOSE 11997
# 运行应用
CMD ["python", "app.py"]