from python:3.11-slim

# Set the working directory
WORKDIR /app

# Copy the requirements file into the container
COPY requirements.txt .

# Copy code into the container
COPY ./ingestor .

# Install the required packages
RUN pip install --no-cache-dir -r requirements.txt

# Run the application
CMD ["python", "ingestor.py"]