mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2025-08-07 07:22:25 -04:00
Update Dockerfile
Re-build
This commit is contained in:
parent
df3905a0a7
commit
83f80ee88e
23
Dockerfile
23
Dockerfile
@ -17,21 +17,20 @@
|
|||||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
FROM python:alpine3.16
|
FROM python:alpine3.17
|
||||||
|
|
||||||
COPY entrypoint /entrypoint
|
COPY entrypoint /entrypoint
|
||||||
|
|
||||||
RUN adduser -D -u 54000 radio && \
|
RUN adduser -D -u 54000 radio
|
||||||
apk update && \
|
RUN apk update && \
|
||||||
apk add git gcc musl-dev && \
|
apk add git gcc musl-dev libffi-dev openssl-dev cargo && \
|
||||||
pip install --upgrade pip && \
|
pip install --upgrade pip && \
|
||||||
pip cache purge && \
|
pip cache purge && \
|
||||||
cd /opt && \
|
git clone https://github.com/shaymez/HBMonv2.git /monitor && \
|
||||||
git clone https://github.com/shaymez/HBMonv2.git /hbmon && \
|
cd /hbmon && \
|
||||||
cd /hbmon && \
|
pip install --no-cache-dir -r requirements.txt && \
|
||||||
pip install --no-cache-dir -r requirements.txt && \
|
apk del git gcc musl-dev libffi-dev openssl-dev cargo && \ && \
|
||||||
apk del git gcc musl-dev && \
|
chown -R radio /hbmon
|
||||||
chown -R radio: /hbmon
|
|
||||||
|
|
||||||
USER radio
|
USER radio
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user