File size: 505 Bytes
fb4a3c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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"]