mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 06:36:32 +00:00
Jakub Sokołowski
0d82dbe240
Also add curl to Docker image. Signed-off-by: Jakub Sokołowski <jakub@status.im>
19 lines
396 B
Docker
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"]
|