HBMonv2/Dockerfile

20 lines
541 B
Docker
Raw Normal View History

2023-08-05 17:04:56 -04:00
FROM python:alpine3.18
2022-05-16 20:50:29 -04:00
COPY entrypoint-proxy /entrypoint
RUN adduser -D -u 54001 hbmon && \
apk update && \
apk add git gcc musl-dev libffi-dev libssl-dev cargo && \
2023-08-05 17:04:56 -04:00
pip install --upgrade pip && \
pip cache purge && \
2022-05-16 20:50:29 -04:00
cd /opt && \
git clone https://github.com/ShaYmez/HBMonv2.git && \
cd /opt/HBmonv2 && \
pip install --no-cache-dir -r requirements.txt && \
apk del git gcc musl-dev && \
chown -R radio: /opt/HBMonv2
USER hbmon
ENTRYPOINT [ "/entrypoint" ]