Docker updates

This commit is contained in:
Simon 2021-02-07 23:00:04 +00:00
parent 84ed3aff1d
commit 2f91d91f57
2 changed files with 0 additions and 21 deletions

View File

@ -1,17 +0,0 @@
FROM python:3.7-alpine
COPY entrypoint-base /entrypoint
RUN adduser -D -u 54000 radio && \
apk update && \
apk add git gcc musl-dev && \
cd /opt && \
git clone https://github.com/hacknix/freedmr && \
cd /opt/freedmr && \
pip install --no-cache-dir -r requirements.txt && \
apk del git gcc musl-dev && \
chown -R radio: /opt/freedmr
USER radio
ENTRYPOINT [ "/entrypoint" ]

View File

@ -1,4 +0,0 @@
#!/bin/sh
cd /opt/freedmr
python /opt/freedmr/bridge_master.py -c hblink.cfg -r rules.py