Spaces:
Sleeping
Sleeping
Download DockerFile from raj22rishi/Text_Summarization: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/spaces/raj22rishi/Text_Summarization/resolve/main/DockerFile
- Command line
-
hf download hf://spaces/raj22rishi/Text_Summarization/DockerFile
-
curl -L -o DockerFile https://huggingface.co/spaces/raj22rishi/Text_Summarization/resolve/main/DockerFile
505 Bytes
| # Use a base image with Python installed | |
| FROM python:3.9 | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the requirements file to the container | |
| COPY requirements.txt . | |
| # Install the required packages | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the source code to the container | |
| COPY pipeline ./pipeline | |
| COPY steps ./steps | |
| COPY models ./models | |
| COPY run_pipeline.py . | |
| COPY utils ./utils | |
| # Set the command to run when the container starts | |
| CMD ["python", "run_pipeline.py"] | |