Spaces:
Build error
Build error
Download Dockerfile from hugging2021/llminators: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/spaces/hugging2021/llminators/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hugging2021/llminators/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hugging2021/llminators/resolve/main/Dockerfile
501 Bytes
| FROM python:3.11.9-slim | |
| # Step 2: Install C++ compiler and other dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| g++ \ | |
| make \ | |
| git \ | |
| && apt-get clean | |
| # Step 3: Set the working directory | |
| WORKDIR /app | |
| # Step 4: Copy the source code into the container | |
| COPY . /app | |
| # Step 5: Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt --force-reinstall | |
| # Step 6: Run makefile to build LLMinator | |
| RUN make | |
| # Step 7: Launch LLMinator | |
| CMD ["python3","webui.py"] |