Download Dockerfile from mnoorchenar/langgraph-support-agent: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/mnoorchenar/langgraph-support-agent/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mnoorchenar/langgraph-support-agent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mnoorchenar/langgraph-support-agent/resolve/main/Dockerfile
445 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn","--worker-class","gthread","--workers","1","--threads","4","--timeout","300","--bind","0.0.0.0:7860","--log-level","info","app:app"] |