Spaces:
Sleeping
Sleeping
Download Dockerfile from ehsanhon/async_chatbot: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/spaces/ehsanhon/async_chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ehsanhon/async_chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ehsanhon/async_chatbot/resolve/main/Dockerfile
330 Bytes
| FROM python:3.10 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all project files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| # Expose port 7860 as required by Hugging Face | |
| EXPOSE 7860 | |
| # Run the FastAPI app | |
| CMD ["uvicorn", "app3:app", "--host", "0.0.0.0", "--port", "7860"] | |