Spaces:
Build error
Build error
Download loader.Dockerfile from jaothan/DockerGenAI_Streamlit: direct link, hf CLI and curl.
- Browser
- Download file 504 Bytes
-
https://huggingface.co/spaces/jaothan/DockerGenAI_Streamlit/resolve/main/loader.Dockerfile
- Command line
-
hf download hf://spaces/jaothan/DockerGenAI_Streamlit/loader.Dockerfile
-
curl -L -o loader.Dockerfile https://huggingface.co/spaces/jaothan/DockerGenAI_Streamlit/resolve/main/loader.Dockerfile
504 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 loader.py . | |
| COPY utils.py . | |
| COPY chains.py . | |
| COPY images ./images | |
| EXPOSE 8502 | |
| HEALTHCHECK CMD curl --fail http://localhost:8502/_stcore/health | |
| ENTRYPOINT ["streamlit", "run", "loader.py", "--server.port=8502", "--server.address=0.0.0.0"] | |