Some checks failed
Docker Build Test / build (3.10) (push) Successful in 3m0s
Docker Build Test / build (3.12) (push) Successful in 2m58s
Docker Build Test / build (3.13) (push) Successful in 2m56s
Docker Build Test / build (3.11) (push) Successful in 3m7s
Build and Publish Docker Image / build (push) Failing after 54s
Safety / security (push) Successful in 1m3s
Docker Build Test / build (3.9) (push) Successful in 1m27s
25 lines
717 B
Docker
25 lines
717 B
Docker
ARG PYTHON_VERSION=3.13
|
|
FROM python:${PYTHON_VERSION}-alpine
|
|
|
|
LABEL org.opencontainers.image.source="https://git.quad4.io/RNS-Things/rns-page-node"
|
|
LABEL org.opencontainers.image.description="A simple way to serve pages and files over the Reticulum network."
|
|
LABEL org.opencontainers.image.licenses="GPL-3.0"
|
|
LABEL org.opencontainers.image.authors="Sudo-Ivan"
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk add --no-cache gcc python3-dev musl-dev linux-headers
|
|
|
|
RUN pip install poetry
|
|
ENV POETRY_VIRTUALENVS_IN_PROJECT=true
|
|
|
|
COPY pyproject.toml poetry.lock* ./
|
|
COPY README.md ./
|
|
COPY rns_page_node ./rns_page_node
|
|
|
|
RUN poetry install --no-interaction --no-ansi
|
|
|
|
ENV PATH="/app/.venv/bin:$PATH"
|
|
|
|
ENTRYPOINT ["poetry", "run", "rns-page-node"]
|