# Phyllome OS Recipe Generator Test Container

FROM fedora:43
LABEL maintainer='Phyllome OS Team'

# Install minimal test dependencies
RUN dnf -y install \
    pykickstart \
    python3-pytest \
    python3-pyyaml \
    make \
    git \
    && dnf clean all

# Set working directory
WORKDIR /phyllomeos

# Copy project files
COPY . /phyllomeos/

# Install Python dependencies
RUN pip install --no-cache-dir PyYAML pytest

# Run tests by default
CMD ["bash", "-c", "cd /phyllomeos && pytest tests/ -v"]
