Download dockerfile from ehsanhon/async-dialogflow-chat: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/ehsanhon/async-dialogflow-chat/resolve/main/dockerfile
- Command line
-
hf download hf://ehsanhon/async-dialogflow-chat/dockerfile
-
curl -L -o dockerfile https://huggingface.co/ehsanhon/async-dialogflow-chat/resolve/main/dockerfile
347 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"] | |