Download Dockerfile from botInfinity/NEPAL_Constitution_Assistant_AI: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/botInfinity/NEPAL_Constitution_Assistant_AI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/botInfinity/NEPAL_Constitution_Assistant_AI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/botInfinity/NEPAL_Constitution_Assistant_AI/resolve/main/Dockerfile
371 Bytes
| # β pick a Python base image | |
| FROM python:3.10-slim | |
| # β set working directory | |
| WORKDIR /app | |
| # β copy everything | |
| COPY . /app | |
| # β install deps | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| # β expose streamlit default port | |
| EXPOSE 8501 | |
| # β final command | |
| CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=8501"] | |