Spaces:
Runtime error
Runtime error
Download Dockerfile from haiderlawati/chatbot_example: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/haiderlawati/chatbot_example/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/haiderlawati/chatbot_example/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/haiderlawati/chatbot_example/resolve/main/Dockerfile
381 Bytes
| # 1. Base image | |
| #FROM python:3.8.5-slim-buster | |
| FROM python:3.11.4 | |
| WORKDIR /src | |
| # 2. Copy files | |
| COPY . /src | |
| # 3. Install dependencies | |
| RUN pip install --no-cache-dir --upgrade -r /src/requirements.txt | |
| # 4. RUN the application | |
| CMD ["panel", "serve", "/src/chatbot.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "haiderlawati-chatbot-example.hf.space"] |