Initial commit

This commit is contained in:
Sudo-Ivan
2025-05-28 06:43:59 -05:00
commit 24af5a61f4
13 changed files with 1171 additions and 0 deletions

25
Dockerfile.rootless Normal file
View File

@@ -0,0 +1,25 @@
FROM python:3.13-alpine
LABEL org.opencontainers.image.source="https://github.com/Sudo-Ivan/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"
RUN addgroup -g 1000 app && adduser -D -u 1000 -G app app
WORKDIR /app
COPY requirements.txt setup.py README.md ./
COPY rns_page_node ./rns_page_node
RUN pip install --upgrade pip setuptools wheel && pip install -r requirements.txt .
USER app
ENTRYPOINT ["rns-page-node"]