status-go/integration-tests/Dockerfile.tests-rpc
Jakub Sokołowski 0d82dbe240 feat(ci)_: add Jenkinsfile, Dockerfile for RPC tests
Also add curl to Docker image.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-04 16:14:02 +02:00

19 lines
396 B
Docker

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"]