Files
Stefan-Sanger 51504f8a6f fix: correct pytest paths for tester container
The tester container uses WORKDIR /tests, so 'tests/pytest.ini' resolves
to /tests/tests/pytest.ini which does not exist, causing FileNotFoundError
in CI. Use paths relative to /tests (pytest . -c pytest.ini) for all
in-container invocations: CI job, Makefile target, tester image CMD, and
docs. Host-run scripts are unchanged (they run from repo root).

Part-of: <http://gitlab.vnc.biz/uxf/vnctalk-prosody/-/merge_requests/3>
2026-07-15 17:59:12 +02:00

8 lines
282 B
Docker

FROM python:3.12-alpine
WORKDIR /tests
COPY requirements.txt /tests/requirements.txt
RUN apk add --no-cache build-base libffi-dev openssl-dev libxml2-dev libxslt-dev \
&& pip install --no-cache-dir -r requirements.txt
COPY . /tests
CMD ["pytest", ".", "-v", "-c", "pytest.ini"]