Text_Summarization / DockerFile
raj22rishi's picture
Upload 14 files
fb4a3c6 verified
raw
history blame contribute delete
No virus
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"]