zhangl
Refactor index.html, README.md, and style.css for interactive English learning app. Updated HTML structure, added navigation and control features, enhanced styling, and improved documentation in README.
c7e7ea8 Download Dockerfile from eithney/ibook: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/spaces/eithney/ibook/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/eithney/ibook/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/eithney/ibook/resolve/main/Dockerfile
316 Bytes
| FROM python:3.9-slim | |
| # 设置工作目录 | |
| WORKDIR /app | |
| # 复制requirements文件 | |
| COPY requirements.txt . | |
| # 安装Python依赖 | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 复制应用文件 | |
| COPY . . | |
| # 暴露7860端口(Hugging Face Spaces要求) | |
| EXPOSE 7860 | |
| # 启动应用 | |
| CMD ["python", "app.py"] | |