mirror of
https://github.com/alexhopeoconnor/arduino-home-assistant.git
synced 2026-10-04 02:48:13 +10:00
11 lines
319 B
Docker
11 lines
319 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /tests
|
|
COPY test-support/ha-mqtt-contract /opt/ha-mqtt-contract
|
|
COPY tests/ha-contract/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN pip install --no-cache-dir /opt/ha-mqtt-contract
|
|
COPY tests/ha-contract/test_contract.py .
|
|
|
|
CMD ["python", "test_contract.py"]
|