Spaces:
Sleeping
Sleeping
Download Dockerfile from longxing/GrokPythonTo2: direct link, hf CLI and curl.
- Browser
- Download file 261 Bytes
-
https://huggingface.co/spaces/longxing/GrokPythonTo2/resolve/b03e255e7123ac8e0ead1af6712eaa8ffbd125ee/Dockerfile
- Command line
-
hf download hf://spaces/longxing/GrokPythonTo2@b03e255e7123ac8e0ead1af6712eaa8ffbd125ee/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/longxing/GrokPythonTo2/resolve/b03e255e7123ac8e0ead1af6712eaa8ffbd125ee/Dockerfile
261 Bytes
| FROM 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"] |