File tree Expand file tree Collapse file tree 4 files changed +735
-0
lines changed
Expand file tree Collapse file tree 4 files changed +735
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM python:3.11-slim
2+
3+ WORKDIR /app
4+
5+ # Install system dependencies
6+ RUN apt-get update && apt-get install -y \
7+ redis-tools \
8+ build-essential \
9+ cmake \
10+ pkg-config \
11+ libgmp-dev \
12+ && rm -rf /var/lib/apt/lists/*
13+
14+ # Copy the py-libp2p-${commitSha} folder so we can use it as a local dependency
15+ COPY ./ /app/py-libp2p
16+
17+ # Copy pyproject.toml and install Python dependencies
18+ COPY interop/transport/pyproject.toml .
19+ RUN pip install --no-cache-dir -e .
20+
21+ # Copy the ping test implementation
22+ COPY interop/transport/ping_test.py .
23+
24+ # Set environment variables
25+ ENV PYTHONUNBUFFERED=1
26+ ENV CI=true
27+
28+ # Set the entrypoint to run the ping test
29+ ENTRYPOINT ["python" , "ping_test.py" ]
You can’t perform that action at this time.
0 commit comments