Spaces:
Runtime error
Runtime error
Download Dockerfile from BinduRP/GenAIProject: direct link, hf CLI and curl.
- Browser
- Download file 443 Bytes
-
https://huggingface.co/spaces/BinduRP/GenAIProject/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BinduRP/GenAIProject/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BinduRP/GenAIProject/resolve/main/Dockerfile
443 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install unzip utility | |
| RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/* | |
| # Copy all files | |
| COPY . . | |
| # Unzip vectorstore | |
| RUN unzip vectorstore.zip -d vectorstore | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose Streamlit port | |
| EXPOSE 8501 | |
| # Run Streamlit | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |