# Use the official Python Slim image as the base image.
FROM python:3.11-slim

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

#COPY test_job.py .
COPY *.py .

ENV PYTHONUNBUFFERED=1
ENV PYTHONHASHSEED=42

# The command to run when the container starts.
CMD ["python", "logsage_fetcher.py"]
