Spaces:
Paused
Paused
Update Dockerfile
Browse files112334675678910910121112131514FROM python:3.9-slimFROM python:3.10-slim
# 设置工作目录WORKDIR /app
# 复制应用代码COPY . .COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 安装依赖RUN pip install --no-cache-dir aiohttp quart cloudscraper loguru python-dotenv quart-corsCOPY . .
# 暴露端口ENV PORT=5200EXPOSE 5200
# 运行应用CMD ["python", "app.py"]Dockerfile+6-8