Spaces:
Runtime error
Runtime error
Download Dockerfile from quantumbit/chatbot-gitconnect: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/spaces/quantumbit/chatbot-gitconnect/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/quantumbit/chatbot-gitconnect/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/quantumbit/chatbot-gitconnect/resolve/main/Dockerfile
402 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --upgrade pip && pip install -r /app/requirements.txt | |
| COPY app /app/app | |
| COPY .env.example /app/.env.example | |
| COPY README.md /app/README.md | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |