Spaces:
Sleeping
Sleeping
Download Dockerfile from Shrouk04/data_analysis_agent2: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/Shrouk04/data_analysis_agent2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Shrouk04/data_analysis_agent2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Shrouk04/data_analysis_agent2/resolve/main/Dockerfile
415 Bytes
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| git \ | |
| python3 \ | |
| python3-pip \ | |
| zstd \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # ollama | |
| RUN curl -fsSL https://ollama.com/install.sh | sh | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| CMD ["/start.sh"] |