Spaces:
Sleeping
Sleeping
Download Dockerfile from py-rus/nova_ai: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/spaces/py-rus/nova_ai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/py-rus/nova_ai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/py-rus/nova_ai/resolve/main/Dockerfile
529 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip install --no-cache-dir streamlit huggingface-hub | |
| # Added huggingface-hub to this line as well to be safe | |
| RUN pip install --no-cache-dir https://huggingface.co/Luigi/llama-cpp-python-wheels-hf-spaces-free-cpu/resolve/main/llama_cpp_python-0.3.22-cp310-cp310-linux_x86_64.whl | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |