# Kun for kjøring av backend-testsuiten (tests/) mot en scratch-database -- # IKKE brukt i produksjon, IKKE del av deploy-pipelinen (se Dockerfile for # det ekte prod-imaget, som bevisst ikke installerer pytest). FROM python:3.12-slim WORKDIR /srv COPY app/requirements.txt app/requirements.txt COPY app/requirements-dev.txt app/requirements-dev.txt RUN pip install --no-cache-dir -r app/requirements.txt -r app/requirements-dev.txt COPY app/ app/ COPY handicap_engine.py handicap_engine.py COPY tests/ tests/ COPY pytest.ini pytest.ini CMD ["pytest", "tests/", "-v"]