Spaces:
Build error
Build error
Download app.Dockerfile from jaothan/DockerGenAI_Streamlit: direct link, hf CLI and curl.
- Browser
- Download file 431 Bytes
-
https://huggingface.co/spaces/jaothan/DockerGenAI_Streamlit/resolve/main/app.Dockerfile
- Command line
-
hf download hf://spaces/jaothan/DockerGenAI_Streamlit/app.Dockerfile
-
curl -L -o app.Dockerfile https://huggingface.co/spaces/jaothan/DockerGenAI_Streamlit/resolve/main/app.Dockerfile
431 Bytes
| FROM langchain/langchain | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| software-properties-common \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --upgrade -r requirements.txt | |
| COPY api.py . | |
| COPY utils.py . | |
| COPY chains.py . | |
| HEALTHCHECK CMD curl --fail http://localhost:8504 | |
| ENTRYPOINT [ "uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8504" ] | |