Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files1234567891011121314FROM python:3.10-slimWORKDIR /appCOPY . .COPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txtENV PORT=5200EXPOSE 5200CMD ["python", "app.py"]12345678910111213141516FROM python:3.9-slim# 设置工作目录WORKDIR /app# 复制应用代码COPY . .# 安装依赖RUN pip install --no-cache-dir aiohttp quart cloudscraper loguru python-dotenv quart-cors# 暴露端口EXPOSE 5200# 运行应用CMD ["python", "app.py"]
Dockerfile+7-5