Files
homeassistant-stelloauth-addon/tests/Dockerfile.ci
2026-09-24 19:56:34 +02:00

16 lines
422 B
Docker

FROM golang:1.27.1-bookworm@sha256:69a7b9788769bec032d238959b61854e9ae87f57be9029ec04e9885fabf99195
RUN apt-get update \
&& apt-get install --yes --no-install-recommends python3 python3-venv
WORKDIR /workspace
COPY requirements-dev.txt ./
RUN python3 -m venv /opt/venv \
&& /opt/venv/bin/pip install --no-cache-dir --requirement requirements-dev.txt
COPY . ./
RUN git init
ENTRYPOINT ["/opt/venv/bin/pytest"]