status-go/integration-tests/Dockerfile.tests-rpc

19 lines
396 B
Docker
Raw Normal View History

FROM python:3.10.14-slim AS build
RUN apt-get update && apt-get install -y gcc python3-dev
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
FROM python:3.10.14-slim AS run
ENV PATH="/opt/venv/bin:$PATH"
COPY --from=build /opt/venv /opt/venv
WORKDIR tests-rpc
COPY . .
ENTRYPOINT ["pytest"]