add RNSD container

This commit is contained in:
sigil-03 2025-09-23 14:07:59 -06:00
commit fbb1ac5947
4 changed files with 30 additions and 0 deletions

2
README.md Normal file
View file

@ -0,0 +1,2 @@
# RETICULUM NODE CONTAINER
container for running a reticulum node

20
rnsd/Containerfile Normal file
View file

@ -0,0 +1,20 @@
FROM debian:stable-slim
# INSTALL PYTHON
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
python3-venv \
python3-pip && \
apt-get clean
# SET UP VENV AND INSTALL RNSD
WORKDIR /rnsd
COPY setup.sh ./
RUN ./setup.sh
# LOAD RUN SCRIPT
COPY run.sh ./
ENTRYPOINT ["bash","/rnsd/run.sh"]

3
rnsd/run.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
source rnsd_venv/bin/activate
rnsd

5
rnsd/setup.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
pwd
python3 -m venv rnsd_venv
source rnsd_venv/bin/activate
pip install rns