Files
rns-page-node/docker/Dockerfile.build
Renovate Bot 07754bc9fa
All checks were successful
Build and Publish Docker Image / build (pull_request) Successful in 10m28s
Update python Docker tag to v3.14
2025-12-27 20:30:21 +00:00

19 lines
354 B
Docker

FROM python:3.14-alpine AS builder
RUN apk update
RUN apk add --no-cache build-base libffi-dev cargo pkgconfig gcc python3-dev musl-dev linux-headers
WORKDIR /src
RUN pip install poetry
COPY pyproject.toml ./
COPY README.md ./
COPY rns_page_node ./rns_page_node
RUN poetry build --format wheel
FROM scratch AS dist
COPY --from=builder /src/dist .