From 83f80ee88eb4ab6185a96adaa70c00c54f6ac5e6 Mon Sep 17 00:00:00 2001 From: M0VUB <76499782+ShaYmez@users.noreply.github.com> Date: Thu, 13 Jun 2024 23:05:51 +0100 Subject: [PATCH] Update Dockerfile Re-build --- Dockerfile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16d3adc..ae900af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,21 +17,20 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ############################################################################### -FROM python:alpine3.16 +FROM python:alpine3.17 COPY entrypoint /entrypoint -RUN adduser -D -u 54000 radio && \ - apk update && \ - apk add git gcc musl-dev && \ - pip install --upgrade pip && \ - pip cache purge && \ - cd /opt && \ - git clone https://github.com/shaymez/HBMonv2.git /hbmon && \ - cd /hbmon && \ - pip install --no-cache-dir -r requirements.txt && \ - apk del git gcc musl-dev && \ - chown -R radio: /hbmon +RUN adduser -D -u 54000 radio +RUN apk update && \ + apk add git gcc musl-dev libffi-dev openssl-dev cargo && \ + pip install --upgrade pip && \ + pip cache purge && \ + git clone https://github.com/shaymez/HBMonv2.git /monitor && \ + cd /hbmon && \ + pip install --no-cache-dir -r requirements.txt && \ + apk del git gcc musl-dev libffi-dev openssl-dev cargo && \ && \ + chown -R radio /hbmon USER radio