Team Ai
Apppublic

ApolloPro7/Generate_Script

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile22 linesDownload Raw Back to root
1# 使用官方 Python 镜像2FROM python:3.9-slim3 4# 设置工作目录5WORKDIR /app6 7# 拷贝依赖和代码8COPY requirements.txt .9RUN pip install --no-cache-dir -r requirements.txt10 11COPY . .12 13RUN pwd14RUN ls -a15RUN chmod +x start.sh16 17# 设置默认端口18ENV PORT=786019 20# 启动 FastAPI 服务21CMD ["./start.sh"]22