mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2024-09-19 11:36:44 -04:00
Update Dockerfile
Re-build
This commit is contained in:
parent
df3905a0a7
commit
83f80ee88e
15
Dockerfile
15
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 && \
|
||||
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 && \
|
||||
cd /opt && \
|
||||
git clone https://github.com/shaymez/HBMonv2.git /hbmon && \
|
||||
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 && \
|
||||
chown -R radio: /hbmon
|
||||
apk del git gcc musl-dev libffi-dev openssl-dev cargo && \ && \
|
||||
chown -R radio /hbmon
|
||||
|
||||
USER radio
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user