Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
4e9e6a68aThis file is pinned to the selected release. Download the original to open it in your design tool.
# Lightweight image for running unit tests
FROM python:3.10-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
libhdf5-dev \
libzmq3-dev \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt pytest
COPY nodes/ nodes/
COPY estimators/ estimators/
COPY scripts/ scripts/
COPY tests/ tests/
CMD ["python", "-m", "pytest", "tests/", "-v", "--tb=short"]