Spaces:
Runtime error
Runtime error
Download Dockerfile from Songyou/LLM-front-docker: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/spaces/Songyou/LLM-front-docker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Songyou/LLM-front-docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Songyou/LLM-front-docker/resolve/main/Dockerfile
328 Bytes
| # 使用官方 Python 3.8 基础镜像 | |
| FROM python:3.11 | |
| # 设置工作目录 | |
| WORKDIR /app | |
| # 复制当前目录中的所有文件到容器内 | |
| COPY . /app | |
| # 安装应用的依赖 | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 开放端口 7860 | |
| EXPOSE 6861 | |
| # 启动 FastAPI 应用 | |
| CMD ["python", "./clm-frontend-dev.py"] |