RYSEN/Dockerfile

20 lines
449 B
Docker
Raw Normal View History

FROM python:3.7-alpine
2019-04-13 13:59:03 -04:00
2021-01-17 16:01:33 -05:00
COPY entrypoint /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
2021-01-17 16:01:33 -05:00
2019-04-13 13:59:03 -04:00
EXPOSE 54000
USER radio
2019-04-13 13:59:03 -04:00
ENTRYPOINT [ "/entrypoint" ]