Spaces:
Runtime error
Runtime error
Download Dockerfile from justperquant/docker-quant-llm: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/justperquant/docker-quant-llm/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/justperquant/docker-quant-llm/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/justperquant/docker-quant-llm/resolve/main/Dockerfile
350 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* | |
| RUN curl -fsSL https://ollama.com/install.sh | sh | |
| WORKDIR /app | |
| COPY app /app | |
| COPY signals /app/signals | |
| COPY requirements.txt /app | |
| COPY .env /app/.env | |
| RUN pip install -r requirements.txt | |
| RUN chmod +x /app/start.sh | |
| EXPOSE 7860 | |
| CMD ["/app/start.sh"] | |