Download Dockerfile from intellica/talk2data: direct link, hf CLI and curl.
- Browser
- Download file 479 Bytes
-
https://huggingface.co/spaces/intellica/talk2data/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/intellica/talk2data/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/intellica/talk2data/resolve/main/Dockerfile
479 Bytes
| FROM python:3.11 | |
| RUN useradd -m -u 1000 chameleon | |
| USER chameleon | |
| ENV PATH="/home/chameleon/.local/bin:$PATH" | |
| WORKDIR /app | |
| COPY --chown=chameleon requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY --chown=chameleon . . | |
| # Hugging Face Space port | |
| ENV PORT=7860 | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Start command for Hugging Face Space | |
| # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |
| CMD ["python", "app.py"] | |